Git Product home page Git Product logo

ebaykit-ios's Introduction

eBayKit

A simple iOS wrapper inspired by InstagramKit for integrating your app with eBay platform.

This framework is built atop AFNetworking’s blocks-based architecture. It’s neat, fast and works like a charm providing an easy interface to interacting with eBay’s model objects.

The only method which is implemented is the eBay method "findItemsAdvanced", which allows the user to get all product information. If I forgot something, just let me know and I will add it / fix it.

##Update

Added the eBay method "GetCategoryInfo". You can use it to get all the products categories in eBay and sub0categories. See the demo project for help. It's really easy to use.

###Installation

First, you will need to create a developer account on eBay (https://developer.ebay.com). Once you create your accout, grab the AppId eBay generates for you. You will need it.

Just copy the folder 'EbayKit' to your project. In EbayKit.plist, paste your AppId instead of .

Demo

Download and run the Demo Project to understand how the engine is intended to be used.

##Usage

###Filter

You can add filters to your search. The types of attributes you can filter in located here: http://developer.ebay.com/Devzone/finding/CallRef/types/ItemFilterType.html

The filter object is of NSDictionary type. The key is a NSString represents the filterType value (from the link above). The Value is a NSArray of NSStrings, represents all the possible values for filtering (from the link above).

Example:
NSDictionary* filter = @{@"ListingType": @[@"Auction", @"FixedPrice"]};
This filters the search only for products which are auctions and fixed priced.

###Output Selector

The types that you can use in the output selector can be found here: http://developer.ebay.com/Devzone/finding/CallRef/types/OutputSelectorType.html

The output selector defines additional attributes to retrieve in your search. The output selector object is of NSArray type, which contains NSStrings.

Example:
NSArray* outputSelector = @[@"SellerInfo"]; This output selector indicates that the seller info will be retrieved with the product.

##What's next?

Working on some more eBay methods to implement. Working on affiliations.

That's all for now! Enjoy.

ebaykit-ios's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.