Creating a paste
GET http://www.binbucks.com/api/generate.
Parameters:
-
key
- API Key generated from your account
-
title
- Title of the paste
-
details
- Content of the paste
-
for folder
- folder=folder_name
Sample Success Response (JSON)
{"status":"success","message":"Paste created
successfully","viewCode":"viewcode","link":"http://www.binbucks.com/ site/paste/?code=hello"}
Sample Error Response (JSON)
{"status":"error","message":"Error description"}
Example How To Use:
http://www.binbucks.com/api/generate?key=your-api-key&title=hello&details=Hello
Binbucks
Retrieving a paste
GET http://www.binbucks.com/api/view.
Parameters:
-
key
- API Key generated from your account
-
code
- Paste view code
Sample Success Response (JSON)
{"status":"success","message":"Paste viewed
successfully","viewCode":"viewcode","title":"title of
paste","hits":0,"owner":"example","details":"paste
content","link":"http://www.binbucks.com/ site/paste/?code=hello"}
Sample Error Response (JSON)
{"status":"error","message":"Error description"}
Example How To Use:
http://www.binbucks.com/api/view?key=your-api-key&code=GG2R5bgwq1
URL Shortner
GET http://www.binbucks.com/api/link.
Parameters:
-
key
- API Key generated from your account
-
url
- URL for which short link is desired
-
if direct url
- directLink=true
-
for folder
- folder=folder_name
-
for advance option (GEO Targeting)
- countries[]=us&urls[]=http://www.abc.com/
Sample Success Response (JSON)
{"status":"success","message":"Url generated
successfully.","link":"http://binb.ooo/tGNiX"}
Sample Error Response (JSON)
{"status":"error","message":"Error description"}
Example How To Use:
http://www.binbucks.com/api/link?key=your-api-key&url=http://www.google.com/