304 Topics

Member Avatar for
Member Avatar for Johnrednex

I'm using the BullionVault API to view my orders. I use the requests from the official documentation https://www.bullionvault.com/help/xml_api.html and python language. My issue is **the request response is the HTML DOM of the BullionVault login page**. Here is my code: login_page_url = "https://or.bullionvault.fr/secure/login.do" login_page_url2 = "https://live.bullionvault.com/secure/j_security_check" payload2 = {'j_username': 'myusername', …

Member Avatar for Johnrednex
0
1K
Member Avatar for Amr.Mohammad87

Greetings, I am a newbie in web development and I am working on a website backend using ***ASP.NET***, ***Bootstrap***, and ***jQuery*** and I need to upload files, simply photos, that will be used to be displayed on the frontend banners. I already used the HTML5 file API to read the …

Member Avatar for AleMonteiro
0
365
Member Avatar for nitin1

Hey, I have visited Daniweb after few months. I have seen "API" options in my profile. How can we use it? Is it similar to fb apis, twitter apis? Thanks.

0
234
Member Avatar for Lau_1

Hello, i want to know, is there any way to force user can only select the address provided in dropdown list? Currently everything working well, but user can proceed without select the address from the dropdown list, can anyone help? Thanks in advance <input type="text" class="form-control" id="address" name="address" required> <script> …

Member Avatar for AleMonteiro
0
1K
Member Avatar for Mar. Na.

Hi,i want to use this ClassParser to parse another file(class) in another package , in my code i used ClassParser to parse only existing file (class) in existing package ,,,how can i use it to parse any file and from any package ,if i can't use it ,is there any …

0
277
Member Avatar for Mar. Na.

Hi, in this code how can I calculate coupling between objects CBO in java after parsing java file using registerCoupling method and retrieve any coupling between classes through argument, class name,type and so on .....

Member Avatar for rproffitt
0
2K
Member Avatar for Darth Vader

Hello, I have an application that is not mine, that has 6 textboxes with values on it. I am trying to use the windows API to retreive the values from those textBoxes. I know that they exists in a control named "Panel1". So I have come so far in the …

Member Avatar for Suzie999
0
707
Member Avatar for vegaseat

Just a simple exploration of the goslate module (uses the Google Translate API) to translate some common languages. However, some IDE's create character problems. Note: Your computer has to be connected to the Internet to access Google.

Member Avatar for Ekta_1
3
2K
Member Avatar for gogs85

Hi i get all information what i need but i dont know how to get facebook profile image and save to file and in mysql save path. Here is my code for call fb api : <?php session_start(); include_once("config.php"); // facebook id include_once("includes/functions.php"); //destroy facebook session if user clicks reset …

Member Avatar for cereal
0
360
Member Avatar for praba_web

Hi there, I have a login form.which contains two input parameters. login_id and password. login_id may be mobile or email. user may use mobile no or email as login id. my table structure is uid email mobile password status when i login through mobile no it is validating and showing …

Member Avatar for diafol
0
450
Member Avatar for hwoarang69

I need some help created a google weather api using vb .net. I found the code online and there are no errors. Problem is that I can't seem to display wether information. Nothing shows up on screen and I am not sure what I did wrong. any ideas? Imports System.Net …

Member Avatar for tinstaafl
0
530
Member Avatar for ravi142

Hello, I am used Wordpress-seo plugin by Yoast. When i share [article](http://gititsolution.com/angularjs-development) on facebook not allow me to share feature image. also check in [facebook degub](https://developers.facebook.com/tools/debug/) but not given solution. also ![attach](/attachments/large/4/19c2d2575845be8c218402bed55c6612.png "align-center") screenshot Suggest me solution. Thanks.

1
199
Member Avatar for William Hemsworth

Quite a while ago, I made [URL="http://www.daniweb.com/code/snippet217147.html"][B]this[/B][/URL] snippet. This code is basically the same, except that it adds animation. This method of blitting is very fast assuming you don't use a surface that's too large. On a 500 x 500 surface, I managed 350fps using only 0-1% of the cpu. …

Member Avatar for thetukiet
1
7K
Member Avatar for sankubha

Now am using substance look and feel version 5.3.I want to upgrade the it to latest version 7.2.1. I need to know what is the new features in new version and difference between 5.3 and 7.2.1.why we need to prefer the new version.

Member Avatar for Schol-R-LEA
0
349
Member Avatar for Prince_9

How can I convert this Ruby Gem to PHP? token = "your_nypl_api_token" client = NyplRepo::Client.new(token) ``` ``` token = "your_nypl_api_token" options = {:debug => true, :server_url => "http://api.repo.nypl.org/api/v1"} client = client = NyplRepo::Client.new(token, options) Also url = "http://api.repo.nypl.org/api/v1/items/8568ccd0-c614-012f-1d74-58d385a7bc34.xml" uri = URI.parse(url) http = Net::HTTP.new(uri.host, uri.port) headers = { "Authorization" => …

Member Avatar for cereal
0
752
Member Avatar for ravi142

Hello I getting current user friends list by php api of facebook. can you suggest me what is missing.[LINK](https://github.com/facebook/facebook-php-sdk) <?php require 'facebook.php'; $facebook = new Facebook(array( 'appId' => 'removed', 'secret' => 'removed', )); if($facebook->getUser() == 0){ $login = $facebook->getLoginUrl(); echo "<a href= '$login'>Login with Facebook</a>"; } else{ $user_profile = $facebook->api('/me'); …

Member Avatar for Itirk
0
2K
Member Avatar for showman13

Good Morning All, I've worn myself out looking for the solution to integrating MailChimp APIs into my PHP scripts. Is there anyone in here that is familiar with doing that? I have the simple part done, where people can subscribe to a Newsletter to get more info, in which case …

Member Avatar for showman13
0
704
Member Avatar for sam230

http://api.ean.com/ean-services/rs/hotel/v3/list?minorRev=4&cid=55505&apiKey=5q4gzx43g6ukcrq798z2hz75&customerSessionId=&locale=en_US&currencyCode=USD&xml=<HotelListRequest><city>new%20delhi</city><RoomGroup><Room><numberOfAdults>2</numberOfAdults><numberOfResults></numberOfResults></Room></RoomGroup></HotelListRequest> when i call api directly to browser i got right data in xml format. but when i call it through curl.. sometime i get data in json format or sometimes no data.. [CODE] $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,"http://api.ean.com/ean-services/rs/hotel/v3/list?minorRev=4&cid=55505&apiKey=5q4gzx43g6ukcrq798z2hz75&customerSessionId=&locale=en_US&currencyCode=USD&xml=<HotelListRequest><city>new%20delhi</city><RoomGroup><Room><numberOfAdults>2</numberOfAdults><numberOfResults></numberOfResults></Room></RoomGroup></HotelListRequest>"); curl_setopt($ch, CURLOPT_FAILONERROR,1); curl_setopt($ch, CURLOPT_FOLLOWLOCATION,1); curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); curl_setopt($ch, CURLOPT_TIMEOUT, 15); $retValue = …

Member Avatar for Terrymol
0
916
Member Avatar for Prince_9

I am able to view content displayed from the API but i'm not able to extract the various contents. my codes are below: function parseInfo($barcode) { $url = "https://archive.org/advancedsearch.php?q=$barcode+AND+licenseurl:[http://creativecommons.org/a+TO+http://creativecommons.org/z]&fl[]=identifier,title,mediatype,collection&rows=15&output=json&callback=IAE.search_hits"; $contents = file_get_contents($url); // $json = json_decode($contents, true); return $contents; } echo $array = parseInfo($barcode); //var_dump($json); for ($i = 0; $i …

Member Avatar for Prince_9
0
224
Member Avatar for M.Waqas Aslam

Dear All, I am not clear that where to ask this question so i am starting this thread here. In my country youtube is banned by the Govt. I want to create the website same as playit.pk. I dont know how this site is working are they using any proxy …

0
193
Member Avatar for durrat

I am using Eclipse helios and Android 4.1.2 i have followed the following documentation https://docs.google.com/document/pub?id=19nQzvKP-CVLd7_VrpwnHfl-AE9fjbJySowONZZtNHzw and done the coding exactly as described in tutorial.when i run my app on emulator it shows "This app wont run unless you update google play services" but on real device which is sony xperia …

Member Avatar for Dhiru_1
0
2K
Member Avatar for lokmani

Hello, my web api is not working on chrome, but working on IE a open appears at bottom contains .json files . i have all the data on it. can you check my code whats the error? public class DataController : ApiController { [Route("dataapi/category")] [HttpGet] public IEnumerable<vendor_category> Category() { return …

Member Avatar for djjeavons
0
681
Member Avatar for ben.juarez.773

Hello, I'm working on a small project to acquire information from regulations.gov using their API. It's fairly simple (codewise) what I'm trying to do. However, I get stuck with a "HTTP error 403: Forbidden". It means I'm connecting, but something seems to be the matter. I've been in contact with …

Member Avatar for richieking
0
517
Member Avatar for mjbor1

i developing a poster software, when i'm trying to post a link it give the following exception facebook api exception #100-invalid here's my code public static bool post(string accesstoken,string status,string link) { try { FacebookClient fb = new FacebookClient(accesstoken); Dictionary<string, object> postArgs = new Dictionary<string, object>(); postArgs["message"] = status; if …

Member Avatar for mjbor1
0
1K
Member Avatar for razamughal67

We add a Default Tweet Button API on my site. it's work perfect and load new window and send the tweet. but i want to get the value of the tweet count id. or if anybody click on the tweet button and submit a tweet . then my page show …

Member Avatar for razamughal67
0
384
Member Avatar for accra

I have a gps sending data to mysql db, but am having hard time ploting the values on google map. My javascript skills are not very good, pls help... javascript code <?php $server = "localhost"; $username = "root"; $database = ""; $password = ""; $conn = mysql_connect($server,$username,$password); mysql_select_db($database) or die("Unable …

Member Avatar for Masterblank
0
2K
Member Avatar for grakovski

Link for API: [Click Here](http://api.uptimerobot.com/getMonitors?apiKey=u118216-ae6b502f1b3f6d272d0f9437&logs=1&alertContacts=1&responseTimes=1&responseTimesAverage=180&format=json) I want to get datetime and type parameters i try to but i get: Notice: Trying to get property of non-object Here is my try t $api_key = "apikey here"; $server = "http://api.uptimerobot.com/getMonitors?apiKey=$api_key&logs=1&alertContacts=1&responseTimes=1&responseTimesAverage=180&format=json"; $server2 = file_get_contents($server); $obj = @json_decode($server2); $cc = $alert->datetime; echo $cc; its …

Member Avatar for Isaac_4
0
385
Member Avatar for ravi142

Hello, I am New about **API Connection** in PHP So i need help for the How to connect and get **Facebook Friends**. Thank You.

Member Avatar for pritaeas
0
251
Member Avatar for accra

Hi, am interfacing gps tracker TK106 with our online platform. The data we get from gps device is in this format (06667778889-9BP05000066677788899140815A0533.8206N00009.7045W000.0165936157.6200000000-L0000F51C) Instractions form [this site](http://sourceforge.net/p/opengts/patches/1/) explains the variours data sets in the string above, for example the first 11 digits 06667778889 is the device's programmable ID ,used in placed …

Member Avatar for accra
0
781
Member Avatar for Thermalnuke

Hey gys just started up a wordpress website for a club i am doing at school that deals with crypto currency. we currently have a couple of miners that are mining litecoins and bitcoins. on the wordpress site im looking to display the miner information through API calls through a …

Member Avatar for cilla
0
248

The End.