I’ve been developing gaming site and planning to add an API to let developers create games for the site. The only problem is how do you create an API more specifically a REST API in PHP or any other language that could develop APIs?
Sorry, just new in API Development.
Any help is appreciated.
It’s pretty easy when you understand the fundamentals. Basically you want controllers mapped to actions that modify data, whether that data’s in a database, XML file, CSV file, text file depends on your models.
I created a simple API framework starter that you can take a look at and get started with: https://github.com/martinbean/api-framework