Skip to content

0xytoken/json-api-to-coda-schema

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Simply & Effortlessly create a Coda Schema for your API within seconds ⏱

  1. Call your favorite API with a sample value, ideally one with an extensive response

    f.e. https://api.opensea.io/api/v1/collection/boredapeyachtclub

  2. Copy the JSON response and call the parser function on it jsonToCodaSchema(YUOR_COPIED_JSON_RESPONSE)

Et Voila!

Now, you have an extensive coda schema tailored to your API.

 

NOTE: You might have to adjust the result to remove the ***TODO*** values, as they are placeholders for empty Arrays and Objects for which you have to manually define the expected type. Also, to use certain properties as featuredProperties, you should duplicate these properties and add them as top-level in your schema, and then, in your coda parsing function, you will want to adjust the response to it, before assigning it to your schema.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published