Skip to content

Meta API - Spells Playground

License

Notifications You must be signed in to change notification settings

mat250/meta-api-spells-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Meta API - Spells Playground

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

Try it !

Go to Meta API Spells and try some spells ✨

How to use it

TL;DR

  1. Clone this repo

  2. npm install

  3. npm run dev : auto reload or npm run debug : debugger enabled

  4. Write your code between marks

  5. Copy / Paste your code on Meta API Spells (to share it) or you use on your own server

Pro tips :

You can use Meta API Catalog to find out what API are available and how to use it

A documentation is available here : Documentation

How to

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

More examples ?

Go to Meta API Spells, explore the existing spells and just copy / paste their code on your playground.

About

Meta API - Spells Playground

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published