Find User here you can look for a user

[API] GBT Contracts

6y
#1
Added a new public API for checking GBT contracts:

For All Resources
https://mc1.my-colony.com/api.php?pf=4&g=1

For Specific Resource
https://mc1.my-colony.com/api.php?pf=4&g=1&r=25

Returns active GBT contracts in JSON format. Example output:
[{"resource":"Antanium","seller":"Cyberkayu","sellercharter":"T0gtaz50","quantity":"150000","price":"87742500","expires":"2017-11-28 02:09:07","offerflag":"0"}]
Note: When you specify a resource in the API call, you do so using &r=x, where x is the id number of the resource. You can get the resource ID numbers from the previously documented GBT Prices API call which you can read about here: https://www.ape-apps.com/viewpage.php?p=584

Output Fields
  • resource: the name of the resource
  • seller: the colony selling the resource
  • sellercharter: the sellers' charter code
  • quantity: the size of the trade
  • price: total asking price of the trade. divide by 100 to get the lot price.
  • expires: server time that the contract will expire and be returned to the seller
  • offerflag: if this is 0, it is a resource sell. if it is 1, it is an offer-to-buy contract
Owner of Ape Apps, LLC
6y
#2
Hi , what is server time ?
Creator of Coloniae
Admin of the MC2 translation project

Linkback References

My Colony





Welcome
Ape Apps, LLC is an independent software development company founded in 2010 by Brandon Stecklein. Over the years, Ape Apps has published over 400 apps and games across various platforms. You can get in touch with Brandon on Twitter or by leaving a post on his wall @bastecklein
App of the Day