Documentation

Public Sets

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

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

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

Examples:
https://www.codegrape.com/api/number-of-files.json
total-users Shows the total number of subscribed users to CodeGrape.

Examples:
https://www.codegrape.com/api/total-users.json
total-items Shows the total number of items available on CodeGrape.

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

Examples:
https://www.codegrape.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. flashblue

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

Examples:
https://www.codegrape.com/api/user-items:flashblue.json
categories Lists the categories of CodeGrape.

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

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

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

Examples:
https://www.codegrape.com/api/new-files:themes.json
new-files-from-user Shows the newest 25 files a user has uploaded to CodeGrape. Requires username, e.g. new-files-from-user:flashblue

Examples:
https://www.codegrape.com/api/new-files-from-user:flashblue.json


User (protected w/ an API key) Sets

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

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

Examples:
https://www.codegrape.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://www.codegrape.com/api/USERNAME/API-KEY/verify-purchase:ITEM-PURCHASE-CODE.json
by in