Follow

Popular Items API

The Popular Items API will return a list of popular items

Use Case

A 3rd party developer might wish to display a list of popular items on the MOJO Marketplace.

Technical Details

Method: GET
Request URL
http://www.mojomarketplace.com/api/v1/popular/{CATEGORY}/{TYPE}.json
Fields
  • CATEGORY
    • Type: String 128
    • Example Value: wordpress
    • Example Value: joomla
  • TYPE
    • Type: String 128
    • Example Value: themes
    • Example Value: plugins
    • Example Value: graphics
Optional Parameters
  • category

     

    • Type: String 128
    • Example Value: wordpress
    • Example Value: joomla
  • type
    • Type: String 128
    • Example Value: themes
    • Example Value: plugins
    • Example Value: graphics
  • seller
    • Type: Mixed - UUID, String 128
    • Values: SellerUUID or seller profile_name (Find here)
    • Example Value: 51935f65-7458-470e-a5eb-11c40a140b1e
    • Example Value: username-f80d9a
  • count
    • Type: Int 11
    • Example Value: 10

Responses

Success:

{
    "item_1":{
        "id":"51935f65-7458-470e-a5eb-11c40a140b1e",
        "name":"Show and Tell Theme.",
        "category":"WordPress",
        "type":"Themes & Templates",
        "page_url":"http://website.com/showandtell",
        "demo_url":"http://website.com/showandtell/demo",
        "sales_count":"0",
        "seller_name":"MOJO Seller",
        "seller_url":"http://website.com",
        "images":{
            "square_thumbnail_url":"https://mojo.amazonaws.com/images/square_thumbnail-136x136.png",
            "thumbnail_url":"https://mojo.amazonaws.com/images/thumbnail-260x156.png",
            "large_thumbnail_url":"https://mojo.amazonaws.com/images/large_thumbnail-368x296.png",
            "preview_url":"https://mojo.amazonaws.com/images/preview-1180x660.png"
        },
        "prices":{
            "single_domain_license":39,
            "5_domain_license":156,
            "developer_license":975
        }
    }
}

Error:

{"error":{"message":"ERROR MESSAGE"}}

Have Questions?

If you have questions as to how to use this API, please contact us at support.mojomarketplace.com.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk