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