3 ms·
I'm a bit confused. Assuming that I'm designing an API, should it confirm to your language and return the results as your fancy JSON?
by robotina 11y ago
I'm a bit confused. Assuming that I'm designing an API, should it confirm to your language and return the results as your fancy JSON?
- wircho 11y agoNo. With REL it is possible to aggregate and manipulate any JSON API. The only thing that has to be written in REL is the card file itself. This JSON file is to be hosted anywhere on the web. For example, this is a Hello World card https://gist.githubusercontent.com/wircho/c8f4f5b0ce440b8edd83/raw/8ef09440e96322e75220ff1470fbc4c65d76e6c2/cities_card https://gist.githubusercontent.com/wircho/c8f4f5b0ce440b8edd... hosted on GitHub. If you are releasing a JSON API, I'd be happy to try it out and make a card for it. Let me know if you have more questions!