1.0.9 • Published 3 years ago
japi-utils v1.0.9
Why Japi?
- You can see the JSON response structure
- You can validate the JSON response with the one that you expect
- You can see if the JSON response has an error property
- Export file with JSON response structures for a given array of APIs
How to use Japi?
- responseStructure(url) returns the structure of the JSON response
- validate(url, structureExpected) returns if the json response received matches the one expected
- hasError(json) returns if the the json has an error property
- exportAllJSON(urls) creates a file with the structure of JSON responses for each api