Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [api]

API stands for Application Programming Interface. A program's API defines the proper way for a developer to request services from that program.

0
votes
0answers
16 views

Handling multiple request at the same time on same resource [on hold]

I got some new case for me so there is an item A in database that has a quantity 1 and we got 2 user that want to checkout 1 Item A at the same time. How should the API response for these type of ...
1
vote
0answers
11 views

Uploading offline conversion data to AdWords via API is successful but not appearing in the stats

I've been trying to upload offline conversions from clicks for quite a while now. First I tried manual uploads from a CSV. I made sure that the click associated with the gclid was at least a day apart ...
0
votes
0answers
4 views

Firefox and Internet Explorer not sending POST request after receiving 200 OK after OPTIONS request - Works fine in Chrome [migrated]

I am working on a new service where I have a REST API built inside a C++ application. The C++ applications listens on a particular port and receives HTTP/S traffic, processes what is sent, and then ...
1
vote
0answers
13 views

Are Google API Key Application Restrictions Secure?

I believe an IP address or HTTP referrer can be spoofed, so can I trust that IP address or HTTP referrer application restrictions (configured via the Google API console) will prevent unauthorised ...
1
vote
0answers
16 views

Can I fetch the code for DFP ad slots for all my clients through an API?

Is there a way I can retrieve over API all the codes I get from my clients through txt files? Now I get a bunch of files like this: googletag.defineSlot('*', ][320,60],[320,100],[612,90]], 'div-gpt-...
1
vote
1answer
36 views

Google Bot Crawls using expired cookies and fails to get response

We are using a cookie on our website which is to fetch some information through an API. The cookie becomes invalid after a very small duration. Google Bot uses the same cookie again and again to ...
1
vote
0answers
17 views

Allow our own systems to use an API and restrict it from the general internet without using authentication

I have an Apache server which is reverse proxy'd to some Java container. In Java container there is an API that we don't want internet to see but expect our own systems to use it without any ...
2
votes
1answer
58 views

Error “Field name is required” - Google Analytics API

I'm trying to make API calls to the Google Analytics API v3. Simple read-only calls work just fine, but when trying to update data views (or any update method) I always end up with the following ...
1
vote
0answers
118 views

Correct HTML when translate website via Google Translate API? [closed]

When translating a URL (such as https://www.straatmakershop.nl/) via the free Google Translate tool (https://translate.google.com/) this often results in 'broken' pages. It seems Google is trying to '...
0
votes
0answers
105 views

API - Is it legal to build API for others people site? [duplicate]

Currently, I working with scrap on web I found this amazing alternative free tool to Google AdWords, but as far as I know they don't have any API or something similar. So I was thinking if I can ...
-1
votes
2answers
47 views

How will using the Wordpress API affect SEO ranking for company blog?

We are currently discussing various options for implementing a blog engine or Content Managing System. We have a Ruby on Rails application, which gives us the option of using an existing gem, creating ...
1
vote
0answers
101 views

Get cookies from a third-party site by sending login information using JavaScript

I have a website (ASP.NET) which also provides an API. But to access it, it requires login. I want to connect to this site with javascript, 'send' the user credentials to it and receive the cookies (...
1
vote
1answer
63 views

Will using REST API from my site hosted on wordpress.com result in duplicate content?

I have a blog on wordpress.com to store content. I want to access that content using the REST API for a non-wordpress website. My question is, will this result in duplicate content (on wordpress.com ...
3
votes
0answers
175 views

How to make my website SEO friendly while using Restful API? [closed]

I'm using lumen on the backend and simple JQuery on the front end. Soon I'll be shifting towards the angular front end. But one thing that has been the cause of my tension is how should I make my ...
3
votes
1answer
216 views

How to prevent Googlebot from doing API requests?

I have a currency converter site around 32k pages. Every pair for each page. And every page has 2 API requests. I started to see huge number of API requests. From users I have only few page views ...
2
votes
0answers
133 views

Google Webmaster query api returning 403 error

We are using php library to fetch webmaster query API data and getting 403 permission denied error while able to fetch the same data using webmaster analytics tool. The following are the things which ...
0
votes
1answer
84 views

Extracting from JSON REST API

I would like to know how to extract particular field of data from the REST API. I would like to get the "bits-per-second-tx" data, only and I have tried http://localhost/net/json?field=bits-per-...
2
votes
1answer
31 views

Why clients might send unsanctioned requests (i.e. where did this POST come from?)

I've been building web apps for awhile, and while I'm quite aware that this is the Internet and your server has to be ready for anything, by and large humans using browsers make the HTTP requests you ...
4
votes
0answers
166 views

Angular2 on Heroku ask for ssl while using symfony2 api

I launched a nodejs app on Heroku which is basically the front of a website in angular2. The app should receive the database information from an api powered by symfony3 hosted on OVH. It seems that ...
2
votes
0answers
53 views

Track keywords and rankings using the Google Custom Seach API

Is it possible to use Google Custom Seach API to allow me to track keywords for our website as well as some of our clients? There are mixed views from what I can tell and read. I'm going to be ...
2
votes
0answers
273 views

MailChimp form with single opt-in (API)

How to easily make MailChimp API form without double opt-in? Using their API is hard for people with no coding skills and 3rd party tools like POWr or Privy don't have option to disable MailChimp ...
1
vote
0answers
37 views

How long do removed campaigns return in an api call?

I'm wondering how long campaigns that have been removed return in the CampainService.get() call? The documentation does not list anything that says they would stop showing after a certain period but I ...
3
votes
1answer
6k views

The Node Express server is returning “304 Not Modified” responses, but only after querying the database

I'm just diving into web developent, my current passion is Express (Node.js). I've noticed then i often recieve HTTP/1.1 304 Not Modified either for static content and (!) for my json API requests (...
2
votes
0answers
87 views

Google “Define:” command API

I had a quick question about Google. Whenever you use the "define" command it gives you a definition of the word. For example, if I type define:living into Google, it will pull up a card-like result ...
1
vote
0answers
65 views

Site submitted via Google Search Console API but not found on Google Search Console UI

I submitted client site via Google Search Console API successfully, I have even received a successful verification through the API, but it never makes it to the Search Console UI. I waited 12 hours ...
9
votes
3answers
9k views

What’s the Difference Between a webhook and an API?

Programmers who make a request to an API will then receive a response. For example, using Web API to send an email, you’d pass the email contents with the request. If all goes well, you will receive a ...
1
vote
1answer
320 views

Re-submit a sitemap to Google Webmaster tools via command line? [closed]

I'm on Windows 8.1, trying to resubmit an existing sitemap to Google Webmaster tools via the commandline. I've read the documentation here but I can't get it to work. I've followed the instructions ...
1
vote
2answers
136 views

Which API key do I need to implement Google Maps/Street View?

First time implementing Google Maps/Street View, side-by-side into a webpage. Which API Key do I need please? Source Link: https://developers.google.com/maps/documentation/javascript/examples/...
3
votes
1answer
2k views

Where can I find the API key for my Google APIs in the Google Developer Console?

I need to use the Google Maps Javascript API and the Google Maps Geocoding API for my project. I created a new project and got an API Key. The API key works with Google Maps Javascript API but not ...
2
votes
1answer
704 views

Where are the medium and large images in Amazon's product advertising API?

The API is returning a LargeImage node with an image that is 110px by 110px for this product: http://www.amazon.com/Syma-X5C-Exlorers-2-4G-Quadcopter/dp/B00OCFMVHE Where are the larger sizes of the ...
3
votes
0answers
603 views

Website APIs, Traffic And Alexa Rank?

I was wondering is there actually any point traffic and Alexa etc rank wise in terms of making an API available for a website? I am curious because i have come across a website which uses data from an ...
1
vote
1answer
1k views

What does your bit.ly username and password become when you login using Twitter?

I use a Twitter account to login to bit.ly at the sign in screen. I've also signed up to use their authentication because I want to use node.js to generate shortened links using the node-bitlyapi ...
0
votes
1answer
150 views

updating SQL tables every x seconds (the right way)

I hope this is in the right topic area. Sorry if it isn't. I want to ask the right way to do this task. I have a few service API's I need to query every 30seconds or so that I would like to store in ...
1
vote
0answers
445 views

How to use segments in google analytics API

In google analytics, We are able to create segments like below: From the Google analytics API explorer, we can pull the segment information be it by segment id or by its code: I would assume we can ...
0
votes
1answer
52 views

Enabling URL rewriting for API

I'm new to configuring API web servers and I'm trying to enable URL rewriting for the server so that a user can go to my public DNS.com/getAlbum to access a method within my api.php file (assumption, ...
1
vote
1answer
772 views

How to get an App id on bing to use API's? (website instructions not working)

I'm just switching from the Google Maps API to Bing since Bing's tos allows commercial storage of geocoding results. I was able to sign up for a Microsoft live registration and get a Bing Maps API key....
1
vote
1answer
450 views

Differences in Core Reporting API metrics due to users metric

When I used the Google Analytics Core Reporting API to make queries to retrieve data from a GA view I saw quite some big changes in metrics such as sessions, transactions and number of newusers in ...
1
vote
1answer
1k views

Get geolocation and city name via Google Analytics API

I'd like to extract a the name of the city of a visitor and preferably also the geolocation (latitude + longitude) of those visitors. Is this possible via the Google Analytics API and if so, how?
2
votes
2answers
375 views

Movie Database - Load images from API or locally?

We are creating a movie database site and I have a big dilemma... Shall we keep the movie posters, episodes, screen images in our host or shall we use TMDB (themoviedb API) for loading those images? ...
37
votes
7answers
13k views

How (il)legal is it to get data from a 100% accessible but not “exposed” API

I found a website that provides a huge filterable table with up-to-date data about cities in a country. This site uses an infinite scrolling approach to load the rows for the table. By exploring ...
1
vote
1answer
926 views

Google Analytics Query Explorer OR AND logic

I use the following link to create queries for the Core Reporting API of Google Analytics:https://ga-dev-tools.appspot.com/explorer/ Now I want to use a filter that filters out two types of traffic: ...
11
votes
3answers
6k views

What is the correct HTTP status code for: “This version of this API has been discontinued”?

I have a RESTful API. There are 3 versions of it: v1, v2, and v3. I am about to publish v4, and we have decided to discontinue v1, meaning that all requests to http://example.com/v1/resource will fail,...
1
vote
1answer
514 views

Limit pageviews from Google Analytics API to the last 30 minutes

I am trying to find a way to query Google Analytics through the API to get pageviews for the last 30 minutes. Like they have available through the Google Analytics console, but I want to put it in an ...
1
vote
3answers
305 views

How do I use an API? [closed]

I need to use an API. I want to do the programming in PHP, but I have no idea where to start. I contacted the creator of the API asking how should I use API's in general? and he sent a link to the ...
0
votes
1answer
72 views

Is aggregating images using Twitter's API legal according to the terms & conditions?

Is one able to legally use the Twitter API to search for a given tag, pull down images associated with that tag and then re-post them within a gallery of their own on their own domain? Assume that ...
1
vote
1answer
40 views

Is adding authorship to content provided by an API damaging for SEO?

I've launched a website that has tide data and maritime weather for a number of UK seaside locations. Each location on my site has a 7 day forecast of tide and weather for that given location. This ...
3
votes
1answer
413 views

Does servicing an API from a subdomain make your app slower?

I have a single-page application (SPA) located in application.com, and I want to serve the API from api.application.com. Since this is a Cross-Origin Resource Sharing (CORS) browser application, it ...
2
votes
2answers
4k views

Is it possible to get the Google Alerts as structured data?

With the Google Alerts one can subscribe notifications about the newest search results to a given search terms. The alerts are sent to the email. Now, I'd like to analyse this data. Is there an API ...
1
vote
1answer
930 views

Is there a way to access the AdWords API for free?

Is there a current way to access the AdWords API and get average monthly searches per keyword search?
1
vote
1answer
76 views

How to check if your website is trending?

I am building a admin stats dashboard for my website. I would like to show on it an indication when an article from my site is trending (gone viral) on Facebook or Twitter. My understanding is that ...