{"id":17681977,"url":"https://github.com/mipmip/eokit","last_synced_at":"2025-05-12T23:12:27.652Z","repository":{"id":145714782,"uuid":"48486824","full_name":"mipmip/EOKit","owner":"mipmip","description":"EOKit is an Exact Online client library for iOS and OSX","archived":false,"fork":false,"pushed_at":"2022-11-29T08:30:29.000Z","size":258,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-01T04:32:43.649Z","etag":null,"topics":["eolibs","exact-online","ios","macos","objective-c"],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mipmip.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-12-23T11:20:26.000Z","updated_at":"2024-01-12T18:06:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"0158da49-e119-42c0-9a86-c4786cf09255","html_url":"https://github.com/mipmip/EOKit","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mipmip%2FEOKit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mipmip%2FEOKit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mipmip%2FEOKit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mipmip%2FEOKit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mipmip","download_url":"https://codeload.github.com/mipmip/EOKit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253837461,"owners_count":21971984,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["eolibs","exact-online","ios","macos","objective-c"],"created_at":"2024-10-24T09:12:37.258Z","updated_at":"2025-05-12T23:12:27.626Z","avatar_url":"https://github.com/mipmip.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EOKit\n\n[![CI Status](http://img.shields.io/travis/Pim Snel/EOKit.svg?style=flat)](https://travis-ci.org/Pim Snel/EOKit)\n[![Version](https://img.shields.io/cocoapods/v/EOKit.svg?style=flat)](http://cocoapods.org/pods/EOKit)\n[![License](https://img.shields.io/cocoapods/l/EOKit.svg?style=flat)](http://cocoapods.org/pods/EOKit)\n[![Platform](https://img.shields.io/cocoapods/p/EOKit.svg?style=flat)](http://cocoapods.org/pods/EOKit)\n\nEOKit is an Exact Online client library for iOS and OSX. All Apple\nPlatfoms will be supported in the future.\n\nEOKit is a fork of https://github.com/moqod/Exact-Online-iOS-SDK.\nWe started this rewrite to support OSX and IOS and to make this project more usable by\nadding a pod file.\n\n# About Exact Online\n[Exact Online](http://www.exactonline.com/) is the business software that automates your manufacturing, logistics and CRM in the cloud.\n\u003cbr/\u003e This Objective-C SDK provides easy access to Exact Online API for iOS apps. More information about [Exact Online](http://www.exactonline.com/), [API Documentation](https://developers.exactonline.com/).\n\n# Features\n- Authorization \u0026 Token refreshing\n- REST API access\n- iOS and Mac OS X support\n- Cocoapod specfile\n\n## Installation\n\nEOKit is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\n# No podspec is published right now, so use the git url as pod source\npod 'EOKit', :git =\u003e 'https://github.com/Lingewoud/EOKit.git'\n\n```\n\n# Sample Applications\n\nPlease check the sample applications for real life usage.\n\n- [EOKit iOS Sample App](https://github.com/mipmip/EOKit-iOS-Sample-App)\n- [EOKit OSX Sample App](https://github.com/mipmip/EOKit-OSX-Sample-App)\n\n# Sample\nAuthorization\n```objc\n\t[[EOAPIProvider providerWithClientId:clientId secret:secret] authorizeWithCallbackURL:callbackURL completion:^(NSError *error) {\n\t\tif (!error) {\n\t\t\t// ...\n\t\t} else {\n\t\t  // handle error\n\t\t\tNSLog(@\"error == %@\", error);\n\t\t}\n\t}];\n```\n\nRequest an API\n```objc\n\t[[EOAPIProvider anyProvider] restGetAPI:@\"current/Me\" completion:^(NSArray *results, NSError *error) {\n\t\tif (!error) {\n\t\t\t[self requestAccounts];\n\t\t} else {\n\t\t\t[self handleError:error];\n\t\t}\n\t}];\n```\n\n# Notes\n\n## OData\n\nUse `odataParams` parameter in methods, see sample for more details. We don't see any reason for real OData implementation now, `NSDictionary` is enough.\n\n\n## Division\nAlmost all API methods require `division` parameter. `EOAPIProvider` has property `currentDivision`, this property is setup automatically after requesting `current/Me` API method, also it is possible to setup any value you want (if you need to support multiple accounts).\n\n\n## Paging\nExact Online API Documentaion: *All CRUD services have a limition of maximum 60 records within one API request. The READ services will soon have a similar limitation.*\u003cbr /\u003e\nIf you need all items with one line of code then you could use `grabAllItems` parameter in method:\n\n``` objc\n- (NSOperation *)restGetAPI:(NSString *)apiName division:(NSString *)division odataParams:(NSDictionary *)odataParams grabAllItems:(BOOL)grabAllItems completion:(EOAPICompletion)completion;\n```\n\n## License\n\nEOKit is available under the MIT license. See the LICENSE file for more info.\n\nDevelopment sponsored by [Lingewoud BV](http://lingewoud.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmipmip%2Feokit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmipmip%2Feokit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmipmip%2Feokit/lists"}