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
ASWebAuthenticationSessionflow. - Check the classes folder for available models and respective methods.
- You can also use
get,post,put, anddeletemethods with relative URLs to make requests to the API.
Clone the repo.
git clone [email protected]:putdotio/putio-swift.git
cd ./putio-swiftInstall the package managers, it's suggested to use rbenv and bundler for convenience.
gem install bundler # if you don't have bundler
bundle installInstall the dependencies then open the workspace.
cd ./Example
bundle exec pod install
open ./PutioAPI.xcworkspace