Title: need help with api Post by: lahm-44 on December 10, 2015, 08:06:58 PM hey guys i am here stuck with api problem i want to fetch bitcoin wallet balance using api but i am new to some languages like json and nodejs m totally noob in them so it will be very helpful if anyone can give me a full example with codes blockchain api will be good and also i am looking for youtube api video fetching too(optionally) . any help will be apriciated
Title: Re: need help with api Post by: TheBitcoinMiner on December 10, 2015, 10:23:40 PM What is the api?
Title: Re: need help with api Post by: lahm-44 on December 10, 2015, 10:27:19 PM What is the api? api is a peace of code by which we can get some needful data from others wapsite like youtube videos or bitcoin address balance these type of things are shared using api codes which are generally used by programmers and developers in our wapsites or appsTitle: Re: need help with api Post by: nwfella on December 11, 2015, 01:43:37 AM hey guys i am here stuck with api problem i want to fetch bitcoin wallet balance using api but i am new to some languages like json and nodejs m totally noob in them so it will be very helpful if anyone can give me a full example with codes blockchain api will be good and also i am looking for youtube api video fetching too(optionally) . any help will be apriciated Here ya go mister.https://www.youtube.com/watch?v=D2__AFoOdec Title: Re: need help with api Post by: lahm-44 on December 11, 2015, 08:41:10 AM hey guys i am here stuck with api problem i want to fetch bitcoin wallet balance using api but i am new to some languages like json and nodejs m totally noob in them so it will be very helpful if anyone can give me a full example with codes blockchain api will be good and also i am looking for youtube api video fetching too(optionally) . any help will be apriciated Here ya go mister.https://www.youtube.com/watch?v=D2__AFoOdec Title: Re: need help with api Post by: coinableS on December 11, 2015, 01:41:03 PM hey guys i am here stuck with api problem i want to fetch bitcoin wallet balance using api but i am new to some languages like json and nodejs m totally noob in them so it will be very helpful if anyone can give me a full example with codes blockchain api will be good and also i am looking for youtube api video fetching too(optionally) . any help will be apriciated Here ya go mister.https://www.youtube.com/watch?v=D2__AFoOdec Sounds like you didn't retrieve the JSON response as JSON. Can you share some of the code you've tried? Otherwise it's difficult for us to help you. Title: Re: need help with api Post by: lahm-44 on December 11, 2015, 06:09:34 PM hey guys i am here stuck with api problem i want to fetch bitcoin wallet balance using api but i am new to some languages like json and nodejs m totally noob in them so it will be very helpful if anyone can give me a full example with codes blockchain api will be good and also i am looking for youtube api video fetching too(optionally) . any help will be apriciated Here ya go mister.https://www.youtube.com/watch?v=D2__AFoOdec Sounds like you didn't retrieve the JSON response as JSON. Can you share some of the code you've tried? Otherwise it's difficult for us to help you. Code: <?php Title: Re: need help with api Post by: coinableS on December 11, 2015, 08:20:42 PM hey guys i am here stuck with api problem i want to fetch bitcoin wallet balance using api but i am new to some languages like json and nodejs m totally noob in them so it will be very helpful if anyone can give me a full example with codes blockchain api will be good and also i am looking for youtube api video fetching too(optionally) . any help will be apriciated Here ya go mister.https://www.youtube.com/watch?v=D2__AFoOdec Sounds like you didn't retrieve the JSON response as JSON. Can you share some of the code you've tried? Otherwise it's difficult for us to help you. Code: <?php $parseaddy = $bal["balance"]; Title: Re: need help with api Post by: lahm-44 on December 11, 2015, 08:32:25 PM sorry while posying it here i mistakenly removed it...but its still not working
Title: Re: need help with api Post by: tyz on December 11, 2015, 08:49:17 PM i guess he meant which api you want to retrieve. the official bitcoin api or do you use the api of some third party service like coinbase or blockchain.com?
What is the api? Title: Re: need help with api Post by: coinableS on December 11, 2015, 08:51:18 PM sorry while posying it here i mistakenly removed it...but its still not working What error are you receiving? Or is it just a blank white page? Make sure you have enabled api access AND white listed your Web servers IP Title: Re: need help with api Post by: minifrij on December 11, 2015, 08:53:06 PM What error do you get while fetching the API? Have you made sure that your GUID is in the correct format, and that your password is url encoded (http://meyerweb.com/eric/tools/dencoder/) (if it contains any special characters in the URL)?
Title: Re: need help with api Post by: lahm-44 on December 12, 2015, 05:51:34 AM sorry while posying it here i mistakenly removed it...but its still not working What error are you receiving? Or is it just a blank white page? Make sure you have enabled api access AND white listed your Web servers IP What error do you get while fetching the API? Have you made sure that your GUID is in the correct format, and that your password is url encoded (http://meyerweb.com/eric/tools/dencoder/) (if it contains any special characters in the URL)? no my guid is copyed from the blockchain wallet login page so i hardly expect any mistake in that and i also dnt think my password is worngTitle: Re: need help with api Post by: semobo on December 12, 2015, 06:02:08 AM Have you enabled API Access in your settings on Blockchain? The API seems to be working for me.
Have you tried braces around $guid {$guid}? Are you getting an error message? Have you tried calling the URL with your credentials in a browser? Title: Re: need help with api Post by: lahm-44 on December 12, 2015, 07:15:59 AM Have you enabled API Access in your settings on Blockchain? The API seems to be working for me. bing! when i changed my hosting account and accessed ip then it did worked :D i am now sooo excited . thank you everyone for all your help i am very glad that i asked here it is the right place for my answers :D again a very big thank you too all the dev and codersHave you tried braces around $guid {$guid}? Are you getting an error message? Have you tried calling the URL with your credentials in a browser? |