diff --git a/FonoAPI.postman_collection.json b/FonoAPI.postman_collection.json new file mode 100644 index 0000000..3ccd553 --- /dev/null +++ b/FonoAPI.postman_collection.json @@ -0,0 +1,56 @@ +{ + "info": { + "_postman_id": "252575fd-0b6b-407b-95b7-d28446b0efc5", + "name": "FonoAPI", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" + }, + "item": [ + { + "name": "GET Device", + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "urlencoded", + "urlencoded": [ + { + "key": "token", + "value": "YOUR TOKEN HERE", + "type": "text" + }, + { + "key": "limit", + "value": "5", + "type": "text" + }, + { + "key": "device", + "value": "A8", + "type": "text" + } + ] + }, + "url": { + "raw": "https://fonoapi.freshpixl.com/v1/getdevice", + "protocol": "https", + "host": [ + "fonoapi", + "freshpixl", + "com" + ], + "path": [ + "v1", + "getdevice" + ] + }, + "description": "Gets information from a device " + }, + "response": [] + } + ] +} \ No newline at end of file diff --git a/README.md b/README.md index 4ac7077..69724e4 100644 --- a/README.md +++ b/README.md @@ -97,9 +97,12 @@ available options ###### Curl Example ```bash -curl https://fonoapi.freshpixl.com/v1/getdevice -XPOST -H 'Accept: application/json' -d 'token=YOUR_TOKEN_HERE&limit=5&device=A8' +curl https://fonoapi.freshpixl.com/v1/getdevice -X POST -H 'Accept: application/json' -d 'token=YOUR_TOKEN_HERE&limit=5&device=A8' ``` +###### Postman Collection + Library is here : [FonoAPI.postman_collection](FonoAPI.postman_collection) + ###### Python Library is here : https://github.com/jesusperiago/fonoapi