Meta API - Spells Playground is an app to help you to build Meta API Spells on your computer.
More info here about Meta API Spells and Meta API
Go to Meta API Spells and try some spells ✨
-
Clone this repo
-
npm install
-
npm run dev
: auto reload ornpm run debug
: debugger enabled -
Write your code between marks
-
Copy / Paste your code on Meta API Spells (to share it) or you use on your own server
You can use Meta API Catalog to find out what API are available and how to use it
A documentation is available here : Documentation
Clone this repo on your computer
Install all the dependancies with npm install
Open it with your favorite editor. I've add some nice tools for VS Code ;)
Build your code between the indicated notes. So, you'll just need to copy / paste this section to Meta API Spells page after here : https://meta-api.io/spells. You have an example ready to use ;)
For an easy dev, launch the app with npm run dev
which will autoreload the app on changed.
Then, just open the http://localhost:4000/ on your favorite browser or on tools like Postman.
Meta API SDK is already included and configured. You can access to query parameters you put in the URL with params
variable.
If you want to use the debugger inside Visual Studio Code (pre-configured for you), use npm run debug
Go to Meta API Spells, explore the existing spells and just copy / paste their code on your playground.