Skip to content

Min.us Objective-C API

Notifications You must be signed in to change notification settings

hechien/ObjectiveMinus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ObjectiveMinus

A new way to manage your files on http://min.us by iOS Devices or Mac.

You can use this to create/upload/get items on http://min.us, the official API page: http://min.us/pages/api

Use it feel free and if you could, please help me make it better and better.

How to use

Installation

Drag API/API/MinusAPI to your project, and copy sources to your project.

It required JSON-framework and ASIHTTPRequest, so you must copy them or download them by yourself.

Coding

Minus *minus = [Minus new];

[minus CreateGallery];

-(void)createGalleryFinishedWithResult:(NSDictionary*)result{

NSLog(@"Create, result: %@", result);

editorID = [[result objectForKey:@"editor_id"] retain];

NSString *path = @"/Documents/123.jpg";

[minus UploadItem:[NSString stringWithFormat:@"%@%@", NSHomeDirectory(), path] toEditorID:editorID];

}

More sample please read the APIAppDeleage.m

Contact

Twitter: @hechian Plurk: @hechian Github: @hechien Facebook: http://fb.com/hechien

About

Min.us Objective-C API

Please read the APIAppDelegate.m to know how to use it right now.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published