FSA Quick Guide
- Get the API keys and the documentation password a. Make 1st test call to the FSA (authenticate and get data)
- Get the SDK, read the SDK page and install it
- (optional) Set up the server-side API with Mockoon to toy with different data and scenarios a. Test the FSA it with Postman or… b. Test it with code or a .http file
- Check and install the libraries used, but you’re not obliged to use the same ones. Use composer install within the examples directory
- Read and run the code examples and then adapt them to your needs
The JWT is used to authenticate the user token and to give a way to verify the signature signed by Fairgate with the public key you get from the club settings page of your organisation in Fairgate. Read more about it here: https://jwt.io/
“Representational state transfer (REST) is a software architectural style that was created to guide the design and development of the architecture for the World Wide Web. REST defines a set of constraints for how the architecture of an Internet-scale distributed hypermedia system, such as the Web, should behave. The REST architectural style emphasises the scalability of interactions between components, uniform interfaces, independent deployment of components, and the creation of a layered architecture to facilitate caching of components to reduce user-perceived latency, enforce security, and encapsulate legacy systems.” - Wikipedia (https://en.wikipedia.org/wiki/Representational_state_transfer)
Watch a video on REST APIs with PHP.