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.

Filter by
Sorted by
Tagged with
0
votes
0answers
14 views

How to improve embedded Youtube video quality on Google Chrome using the Youtube Iframe API

I am using the Youtube Iframe API to display a video background on my website. The quality in the API is set to default on the 1080P res video. (I have tested high res and hd1080 settings as well ...
0
votes
0answers
19 views

Why do so many websites use third-party sites for hosting JavaScripts? [duplicate]

What would be the benefit of my hosting JavaScripts from ajax.googleapis.com and other third-party sites instead of hosting these scripts myself?
1
vote
0answers
17 views

Using Post method in Faceook Graph API

When I use graph API to post on a Facebook page it's not working, it responds with an ID and URL but instead it should be responding with a post id. When I open the URL it gives this error: { "...
0
votes
1answer
16 views

ga events api - Which guidelines should I follow

this description https://developers.google.com/analytics/devguides/collection/gtagjs/events gtag('event', <action>, { 'event_category': <category>, 'event_label': <label>, '...
1
vote
0answers
13 views

Will Google cloud charge me for their text-to-speech API if I stay below the 1 million character per month threshold?

I registered google cloud account and want to use Text-To-Speech API on my own server with github.com/googleapis/google-cloud-php library. On API page in block "Pricing" written that using less than ...
1
vote
0answers
36 views

Is YouTube video fetching by API (WordPress plugin) indexed by Google?

I have a WordPress website. I displayed all videos thumbnail (25 videos) from a YouTube channel by `API (WP plugin). The video is in a popup and start playing when I click on this thumbnail. That ...
0
votes
1answer
13 views

Is there any api to convert city names into longitude and latitude [closed]

I have city names in my database and I'd like to get those city longitude / latitude in order to pin them in google map, my question is: Is there any website/package that provides such service to ...
1
vote
0answers
214 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 ...
1
vote
0answers
86 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
28 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
61 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
18 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
2answers
193 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
252 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 '...
-1
votes
2answers
50 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
144 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
68 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
321 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
311 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
213 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
87 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-...
1
vote
1answer
33 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 ...
3
votes
0answers
171 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
58 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
281 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
40 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 ...
4
votes
1answer
8k 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
88 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
69 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 ...
11
votes
5answers
12k 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
375 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
141 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
766 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
639 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
3k 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
202 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
500 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
54 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
831 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
526 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
422 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
15k 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
1k 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: ...
12
votes
4answers
8k 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
609 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
307 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 ...