Skip to content

tapi/500px-iOS-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Writing a wrapper for the 500px API in Objective-C to make it easier for developers to write apps against this awesome service.

Stil a work in progress; I'm only working on this in my spare time. It currently supports reading from the 500px API and retrieving photos, users, favourites, followers, etc. Check out the API Documentation for more information.

Eventually, I'll be creating a wrapping layer so you don't have to deal with NSURLRequest instances at all.

Requirements

This project requires LLVM 4.0+ and Xcode 4.4+, and is compiled with ARC.

How to use:

Go to your Xocde project directory and type the following:

git submodule init
git submodule add git://github.com/AshFurrow/500px-iOS-api.git

Once the submodule has finished downloading, drag and drop the new Xcode project into your existing project.

Drag and drop subproject

Now that the subproject is added, we need to link against it. Expand the subproject's Products folder and drag the lib500px-iOS-api.a file into your projects "Link Binary With libraries" list in the project details editor.

Drag and drop the library to be linked against

Now that you're linking against the library, you're almost done! Wherever you want to use the 500px API, make sure you import the PXAPIHelper.h file:

#import <500px-iOS-api/PXAPIHelper.h>

I'll be adding a sample project later to show how to actually call the API. Basically, all you get right now is a series of methods that generate NSURLRequests signed to your user, and log in functionality.

About

500px API Wrapper for Objective-C

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 100.0%