All Projects → pinterest → Android Pdk

pinterest / Android Pdk

Licence: apache-2.0
Pinterest Android SDK

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Android Pdk

Ios Pdk
Pinterest iOS SDK
Stars: ✭ 114 (+132.65%)
Mutual labels:  api, pinterest, sdk
Go Binance
A Go SDK for Binance API
Stars: ✭ 441 (+800%)
Mutual labels:  api, sdk
Vk Io
Modern VK API SDK for Node.js
Stars: ✭ 401 (+718.37%)
Mutual labels:  api, sdk
Swiftinstagram
Instagram API client written in Swift
Stars: ✭ 570 (+1063.27%)
Mutual labels:  api, sdk
Jcabi Github
Object Oriented Wrapper of Github API
Stars: ✭ 252 (+414.29%)
Mutual labels:  api, sdk
Socialreaper
Social media scraping / data collection library for Facebook, Twitter, Reddit, YouTube, Pinterest, and Tumblr APIs
Stars: ✭ 338 (+589.8%)
Mutual labels:  api, pinterest
Dorita980
Unofficial iRobot Roomba and Braava (i7/i7+, 980, 960, 900, e5, 690, 675, m6, etc) node.js library (SDK) to control your robot
Stars: ✭ 523 (+967.35%)
Mutual labels:  api, sdk
Huobi java
Java SDK for Huobi Spot API
Stars: ✭ 180 (+267.35%)
Mutual labels:  api, sdk
Themoviedb
A node.js module with support for both callbacks and promises to provide access to the TMDb API
Stars: ✭ 5 (-89.8%)
Mutual labels:  api, sdk
Gocertcenter
CertCenter API Go Implementation
Stars: ✭ 21 (-57.14%)
Mutual labels:  api, sdk
Aeris Ios Library
Contains a demo project utilizing the AerisWeather SDK for iOS to help you get started with using our library.
Stars: ✭ 21 (-57.14%)
Mutual labels:  api, sdk
Strapi Sdk Javascript
🔌 Official JavaScript SDK for APIs built with Strapi.
Stars: ✭ 247 (+404.08%)
Mutual labels:  api, sdk
Coinapi Sdk
SDKs for CoinAPI
Stars: ✭ 238 (+385.71%)
Mutual labels:  api, sdk
Huobi python
Python SDK for Huobi Spot API
Stars: ✭ 391 (+697.96%)
Mutual labels:  api, sdk
Reaper
Social media scraping / data collection tool for the Facebook, Twitter, Reddit, YouTube, Pinterest, and Tumblr APIs
Stars: ✭ 240 (+389.8%)
Mutual labels:  api, pinterest
App
Directus Admin Application — An Intuitive WebApp for Managing Database Content
Stars: ✭ 464 (+846.94%)
Mutual labels:  api, sdk
Waliyun
阿里云Node.js Open API SDK(完整版)
Stars: ✭ 40 (-18.37%)
Mutual labels:  api, sdk
Cityengine Sdk
CityEngine is a 3D city modeling software for urban design, visual effects, and VR/AR production. With its C++ SDK you can create plugins and standalone apps capable to execute CityEngine CGA procedural modeling rules.
Stars: ✭ 137 (+179.59%)
Mutual labels:  api, sdk
Pymedium
Unofficial Medium Python Flask API and SDK
Stars: ✭ 153 (+212.24%)
Mutual labels:  api, sdk
Pymessager
Python API to develop chatbot on Facebook Messenger Platform
Stars: ✭ 580 (+1083.67%)
Mutual labels:  api, sdk

Caveat -- Deprecation

Pinterest considers this SDK deprecated. You can still build an integration with Pinterest into your Android app using the RESTful endpoints directly. Best practice guidelines exist about use of OAuth within a mobile application. For instance, see RFC 8252.

For documentation on the API itself, visit the Pinterest Developers website.

PinterestSDK for Android

The PinterestSDK for Android will allow you to authenticate an account with Pinterest and make requests on behalf of the authenticated user. For details on the supported endpoint, visit the Pinterest API.

Installation

Using AAR

  1. Go to Android Studio | New Project | Minimum SDK

  2. Select "API 11: Android 3.0" or higher and create your new project.

  3. After you create a new project, go to File > New > New Module

  4. Select "Import .JAR or >AAR Package"

  5. Enter the path to .AAR file downloaded from this repo.

  6. Under File > Project Structure, add pdk module as a dependency for your Project

  7. Add the following as a dependency in build.gradle file

compile 'com.mcxiaoke.volley:library:1.0.+'

Using Source code

  1. Go to Android Studio | New Project | Minimum SDK

  2. Select "API 11: Android 3.0" or higher and create your new project.

  3. After you create a new project, go to File > New > New Module

  4. Select "Import Existing Project as Module"

  5. Enter the path to source code downloaded from this repo.

  6. Add the following as a dependency in build.gradle file

compile 'com.mcxiaoke.volley:library:1.0.+'
  1. If the pdk module is not added as a dependency automatically, add it manually under File > Project Structure.

Setting up your App

Registering Your App

Visit the Pinterest Developer Site and register your application. This will generate an appId for you which you will need in the next steps.

Configuring PDKClient

Before you make any calls using the PDKClient in your app, you will need to configure it with your appId:

Add the following lines in "onCreate" method of your Launch Activity

//imports
import com.pinterest.android.pdk.PDKCallback;
import com.pinterest.android.pdk.PDKClient;
import com.pinterest.android.pdk.PDKException;
import com.pinterest.android.pdk.PDKResponse;


//inside onCreate
PDKClient.configureInstance(this, YOUR_APP_ID);
PDKClient.getInstance().onConnect(this);

Add the following line outside the application tag in the manifest file.

<uses-permission android:name="android.permission.INTERNET"/>

And add the following Intent filter to your Login Activity

<intent-filter>
    <action android:name="android.intent.action.VIEW" />
    <category android:name="android.intent.category.DEFAULT" />
    <category android:name="android.intent.category.BROWSABLE" />
    <data android:scheme="pdk[YOUR_APP_ID]" />
</intent-filter>

If your APP ID is 1234, scheme would be "pdk1234"

Example App

The PDK comes with a Example App. Just clone this repo, add your AppId, and run to get started.

Documentation

For the full documentation and more information about the Pinterest Developer Platform, please visit:

PinterestSDK for Android

Pinterest API Docs

Pinterest API signup

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].