CraftAPIxplorer: Your Ultimate Companion for API Mastery in Every Job Test and Beyond.
Work In Progess!!!
- https://rickandmortyapi.com/
- https://swapi.dev/
- https://pokeapi.co/
- https://api.potterdb.com/
- https://api.artic.edu/docs/
- Add error boundary
- Add Saga middleware
- Add cache system
- Open AI Image generation (Bash created, credits need it)
- ...
- appName: Name of the API, this will shoe in the Home menu.
- apiType: This at the moment can be GraphQL and Rest API.
- apiBaseUrl: The base url for the Api.
- mainImage: The image that will be use in the Home page.
- sections: This will be the diferent sections that the Api has.
- endpoint: Part of the endpoint where it will gather the info for that section.
- jsonStructure: It will be used by the app to find the results in the response json.
- jsonDepth: It will be used by the app to parse the conversions and itemIncludedKeys the result json in the single response.
- pagination: This is the type of pagination ['offset-limit', 'page-number', 'page-number-page-size'].
- perPage: Quatity of pages that the call willl receive by default.
- singleQuery: If GraphQL the query need it for single item endpoints.
- query: If GraphQL the query need it for multiple items endpoint.
- itemIncludedKeys: Keys that will be included in the response items and print.
- conversions: Properties changes it needs to print the info. The third option is a Regex.
{
"appName": "Example APP",
"apiType": "RestApi",
"apiBaseUrl": "http://example.local/api/",
"mainImage": "/images/ExampleImage.jpg",
"sections": ["ExampleSection"],
"ExampleSection": {
"endpoint": "endpoint",
"jsonStructure": { "results": "data|data", "count": "data|pagination|total" },
"jsonDepth": 3,
"pagination": "page-number",
"perPage": 10,
"itemIncludedKeys": ["height", "width", "status"],
"conversions": ["name|title", "description|desc", "url|id|\\d+"]
}
}