home

SourceSale API Parameters

Public Sets

e.g. https://sourcesale.com/api/total-users.json

Set Description
active-threads Threads with the most recent messages activity.

Examples:
https://sourcesale.com/api/active-threads.json
number-of-files Shows the number of files in the major categories of a particular site.

Examples:
https://sourcesale.com/api/number-of-files.json
total-users Shows the total number of subscribed users to SourceSale.

Examples:
https://sourcesale.com/api/total-users.json
total-items Shows the total number of items available on SourceSale.

Examples:
https://sourcesale.com/api/total-items.json
item-prices Returns available licenses and prices for the given item ID.

Examples:
https://sourcesale.com/api/item-prices:1234.json
user Shows username, country, number of sales, number of followers, location and avatar for a user. Requires a username, e.g. epsilon

Examples:
https://sourcesale.com/api/user:epsilon.json
user-items Shows the number of items an author has for sale. Requires a username, e.g. epsilon

Examples:
https://sourcesale.com/api/user-items:epsilon.json
categories Lists the categories of SourceSale.

Examples:
https://sourcesale.com/api/categories.json
item Details for a single item specified by the given ID.

Examples:
https://sourcesale.com/api/item:1234.json
features Shows the site features and free file.

Examples:
https://sourcesale.com/api/features.json
new-files New files, recently uploaded to SourceSale. Requires category paramater, e.g. new-files:javascript

Examples:
https://sourcesale.com/api/new-files:javascript.json
new-files-from-user Shows the newest 25 files a user has uploaded to SourceSale. Requires username, e.g. new-files-from-user:epsilon

Examples:
https://sourcesale.com/api/new-files-from-user:epsilon.json


User (protected w/ an API key) Sets

e.g. https://sourcesale.com/api/USERNAME/API-KEY/vitals.json

Set Description
vitals Returns a user's username and balance.

Examples:
https://sourcesale.com/api/USERNAME/API-KEY/vitals.json
verify-purchase Details of an item you have sold. Requires a purchase code, e.g. verify-purchase:v6u95c1a-ed6w-3r6y-2ep7-wk8vxehmfq80.

Examples:
https://sourcesale.com/api/USERNAME/API-KEY/verify-purchase:ITEM-PURCHASE-CODE.json