Behance API - Aviary PhotoHackDay 2014

Download Behance API - Aviary PhotoHackDay 2014

Post on 15-Jul-2015

305 views

Category:

Engineering

1 download

Embed Size (px)

TRANSCRIPT

<ul><li><p>BEHANCE APIAviary Photo Hack Day, 2014</p></li><li><p>BEHANCESHOWCASE AND DISCOVER CREATIVE WORK</p><p> Platform for Creative Professionals </p><p> Create and Manage Online Portfolio </p><p> Feedback from the Community </p><p> Discover Talent and Inspiration</p></li><li><p>BEHANCESHOWCASE AND DISCOVER CREATIVE WORK</p></li><li><p>BEHANCEAPI DOCUMENTATION</p><p> Content Types Users Projects Works In Progress, Revisions Collections Comments</p></li><li><p>BEHANCEUSERS</p><p> Users /v2/users Search: text, location, creative field, tags Projects, Works in Progress, Collections by User Connections: Users Followed by &amp; Following Work Experience</p></li><li><p>BEHANCEPROJECTS &amp; WORKS IN PROGRESS</p><p> Projects /v2/projects Search: text, location, creative field, tags, color, license Comments </p><p> Works In Progress: /v2/wips Search: text Revisions Comments</p></li><li><p>BEHANCECOLLECTIONS</p><p> Collections /v2/collections Search: text Projects </p><p> Creative Fields /v2/fields Retrieve Complete List</p></li><li><p>BEHANCEOPTION 1: HTTP REQUESTS</p><p> Open Source Libraries PHP Python Ruby Gem JS</p><p>behance.net/dev/api/libraries </p><p> Roll your own</p></li><li><p>BEHANCEOPTION 1: GETTING STARTED</p><p> Register your application to receive a Client ID behance.net/dev/register </p></li><li><p>BEHANCEOPTION 1: TIPS</p><p> Try out your requests with Apigeeapigee.com/behance/embed/console/behance</p><p> Things to be aware of All requests require use of your own client id Rate Limits (HTTP Status Code 429) Attribution: Give Credit to Content Owners Authenticated Requests (POST, PATCH) must use Creative SDK</p></li><li><p>BEHANCEOPTION 2: CREATIVE SDK</p><p> Includes Objective-C Wrapper of Behance API UI workflows for uploading content Provides methods for Authenticated access</p><p>CreativeSDK.com</p></li><li><p>BEHANCEUI WORKFLOWS - WORK IN PROGRESS</p></li><li><p>BEHANCEOPTION 2: PUBLISHING WORKS IN PROGRESS</p><p>AdobePublishWIPSpecs *specs = [AdobePublishWIPSpecs new] specs.image = theImage; // UIImage </p><p>// add a revision for an existing WIP specs.originalWIPId = @(345345); </p><p>// configure optional field values specs.title = @"Your title"; specs.wipDescription = @"Your description"; specs.tags = @[@"tag1", @"tag2"]; </p><p>// From AdobePublish.h [[AdobePublish sharedInstance] showWorkInProgressEditorWithSpecs:specs delegate:self]; </p><p>// Implement the AdobePublishWIPDelegate protocol</p></li><li><p>BEHANCEUI WORKFLOWS - PROJECT</p></li><li><p>BEHANCEOPTION 2: PUBLISHING PROJECTS</p><p>AdobePublishProjectSpecs *specs = [AdobePublishProjectSpecs new] specs.images = @[image1, image2]; // Array of UIImage </p><p>// configure optional field values specs.coverImage = image1; specs.title = @"Your title"; specs.projectDescription = @"Your description; specs.creativeFields = @[@"interaction design", @"photography"]; specs.tags = @[@"tag1", @"tag2"]; </p><p>// From AdobePublish.h [[AdobePublish sharedInstance] showProjectEditorWithSpecs:specs delegate:self]; </p><p>// Implement the AdobePublishProjectDelegate protocol</p></li><li><p>BEHANCEOPTION 2: WRAPPER API CALLS</p><p>// refer to docs at behance.net/dev NSDictionary *params = @{ @"page": @"1", @"field": @"photography" </p><p>}; </p><p>// asynchronous network requests [AdobePublishProject projectSearchWithParams:params completion:^{ if (response.result) { </p><p>// array of AdobePublishProject model objects NSArray *projects = response.result; [self loadedProjects:projects]; </p><p> } else { NSLog(@"Failed: %@", response.error); } }]; </p></li><li><p>BEHANCEPRIZE</p><p>Prize for Best Use of the Behance API (2) 1-Year Subscriptions to Creative Cloud</p></li><li><p>GOOD LUCK!Jared Verdi Mobile Developer, Behance jverdi@adobe.com, @jverdi </p><p>Documentation Behance API http://www.behance.net/dev </p><p>Adobe Creative SDK CreativeSDKBehance Component https://creativesdk.adobe.com</p></li></ul>