PutioAPI
is available through CocoaPods. To install, simply add the following line to your Podfile:
pod 'PutioAPI'
- For authentication, check the Example Project for a simple
ASWebAuthenticationSession
flow. - Check the classes folder for available models and respective methods.
- You can also use
get
,post
,put
, anddelete
methods with relative URLs to make requests to the API.
Clone the repo.
git clone [email protected]:putdotio/putio-swift.git
cd ./putio-swift
Install the package managers, it's suggested to use rbenv
and bundler
for convenience.
gem install bundler # if you don't have bundler
bundle install
Install the dependencies then open the workspace.
cd ./Example
bundle exec pod install
open ./PutioAPI.xcworkspace