GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||
GeezerVison is showing github.com — API-NG-sample-code/curl at master · MatteoHenryChinaski/API-NG-sample-code Expand file tree/ Copy pathcurl/Directory actionsMore optionsMore optionsDirectory actionsMore optionsMore options/ Copy pathcurl/Folders and files
##### Description: Scripts contains example of placing a bet for next available horse race via curl requests. Scripts will attempt to place a bet with invalid odds set, so user will get error response on last request. This Script will NOT place any bet! There are two scripts, one that supports json rpc and other supports rescript protocol. ##### Pre-run installation: Before running script make sure you have got "yajl" package installed. This package is used to pretty formatting of json response. If you run it on Debian distros run first: sudo apt-get install yajl-tools on REDHAT distro: sudo yum install yajl ##### How to invoke: You can start a script with two arguments : app key and session token (example below) sh json_curl.bash <your app key> <your session token> sh json_rescript.bash <your app key> <your session token> If you don't specify either of them you will be prompted for it once you start a script. ##### Modification: Scrip contains some variables regarding connection such as host and port which is set by default to Public API-NG. | ||||||||||||||||||||||||||
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. | ||||||||||||||||||||||||||