RESTful API endpoint manager
This library will need a lot of management to keep APIs updated. My plan is to start laying them out and try to find others who use specific APIs and have them keep those up to date.
-
Done: Docs documentation link : File source file - Started : Docs documentation link : File source file
- Future : Docs documentation link
Please submit an issue if you would like a lead position for any (listed/unlisted) API
--
-
Foursquare: Docs : File -
Instagram: Docs : File -
iTunes: Docs : File -
Marvel: Docs : File -
Uber: Docs : File - Github : Docs : File
- Marta : Docs : File
--
- Flickr : Docs
- LinkedIn : Docs
- Meetup : Docs
- Pinterest : Docs
- Slack : Docs
- Twitter : Docs
- Youtube : Docs
- Netflix : Docs
- GuideBox : Docs
- Hulu
- Amazon
--
API Groups
- Google Products
- Facebook Products
- Graph API : Docs
Please submit an issue for any APIs you would like to see added.
-
Response Object Structuredocs coming soon -
Authentication Structuredocs coming soon
To run the example project, clone the repo, and run pod install
from the Example directory first.
Example project screens.
Go here to choose a prebuilt API or create your own. The example below uses the prebuilt GitHubAPI.
You will need to register an application. Then create a Keys.swift file (make sure to ignore the file if your repo is public).
run a request
let githubAPI = GithubAPI.session
// setup endpoint
var profile = GithubAPI.Endpoints.UsersNamed.endpoint
profile.pathpieces = ["username" : "joalbright"]
// run request
githubAPI.request(profile) {
// object returned = $0.info
// error returned = $0.error
}
This uses Parsable.
Relax is available under the MIT license. See the LICENSE file for more info.