Skip to content

AlphaOverall/tdp4api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

TDP4 Weapon Prices

An API written in PHP to get TDP4 weapon prices.

Parameters:

Parameter Name Value Description
weapon string specify the weapon name
discount int (optional) specify a discounted amount

Example

http://www.alphaoverall.com/api/tdp4/weaponprices.php?weapon=colt&discount=50 returns ```json { "result": "The cost of Colt King Cobra is 500 coins with 50% discount", "coins": 500, "cash": 0 } ``` If a weapon doesn't exist: ```json { "error": "No weapon named 'cold'" } ``` Use freely. Created by [AlphaOverall](http://www.kongregate.com/accounts/AlphaOverall)

About

An API to get TDP4 weapon prices

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages