Newest api Questions

Q&A for professional and enthusiast programmers

Api key of soundcloud

I need a api key of soundcloud for two days. As I'm having an hackathon, but the process of getting a key will take one month. So if anyone has the key please provide me with it. I'm from India, so ...

Laravel API Authentication using Passport results in 401 (Unauthorized)

Following the documentation on Laravel regarding Passport authentication for the API route, i'm currently having some problems when using axois to fetch data from the api. So far I have installed ...

Codewars API Unauthorised

I'm trying to use the Codewars API and would like for example to "Train next code challenge." as per instructions here: https://dev.codewars.com/#post-train-next-code-challenge Using curl "https://...

API connexion: Failed to enable crypto

I'd like to connect to this API to display the odds of this bookmaker: https://www.parionssport.fr/api/1n2/offre?sport=100. So, I tried this code: <?php $json = file_get_contents('https://...

Ionic Framework Data offline sync

I am Trying to get some data to show in an ionic application,my problem that i want to know how to be able to get the data online,and then save them when iam offline,so i can consult some of them. Any ...

How to upload a file in Titanium

I have and app in Titanium and I'm using https://github.com/viezel/napp.alloy.adapter.restapi to handle my requests to the rest api, now I need to upload a file to the server. How can I manage that? ...

Error in Angular $http.get method

I want to retrive the data using REST api response and display in my html page. Here is the code I have written so far. Can anyone help me in writing the correct code as I am new to use web services. ...

iOS realtime free voice recognition API

What's the best real-time(to be able to get partial results) voice recognition API[iOS], to create speech-to-text apps. (It has to be completely free). There are a great deal of information out there,...

Which request to use to fetch data from database based on some data sent?

I am using django-rest-framework's genericAPIViews I want to send some data from the front end to the backend and depending upon the data sent Django should query a model and return some data to the ...

Integration of Google+ API in Java

I have been searching for Google+ API integration with Java. All I got is that there is read-only access to it using Google+ Domain API. Is there any possible way, we can integrate google plus API in ...

Request for my API key for my website

I made the request for my API key to play my music on my wordpress website through a built-in player. I did it here : https://docs.google.com/forms/d/e/1FAIpQLSfNxc82RJuzC0DnISat7n4H-...

API works on insecure but not secure

So im running through a Freecodecamp challenge and this seems to be a common thing. requesting Json from unsecure host openweathermap.org On my domain http:// I can now get it to work but at https://...

Pass in a list of possible routes to Flask?

I'm learning Flask and have a question about dynamic routing: is it possible to pass in a list of accepted routes? I noticed the any converter which has potential but had a hard time finding examples ...

How to open user profile in mindmeister api

I'm using mindmeister api, I issued users/me request and successfully got user data like id,firstname,lastname,...,channel_url,... How can I use this data to open user profile in my site to create and ...

kernel api vs windows service

I try to understand the fundamental structure of windows. Windows contains a lot of services: They can be executable or dlls (svchost administrate them). From another view there are a plenty of ...

Making my first kik bot

I just started working on Kik API to make my very own Kik bot. I need to figure out a way to know the chat id of the user to whom I'll send replies i.e. the user who is already subscribed to me and is ...

Codeigniter mysql db query to display 3 rows of results on page using 2 tables on 3 joins

New to codeigniter and having trouble on a query for 2 tables. The first table "claims" is loaded into a page showing 3 of the 15 or so cells in the headings (as per claims.png), a method in the ...

Validating new entries' zip codes in mysql table?

I'm trying to validate new entries in a MySQL table by sending a GET request to the ZipCodeAPI (http://www.zipcodeapi.com/API). The API returns a json if the entry is valid. For new entries being ...

The webpage cannot be found - This error (HTTP 400 Bad Request) means that this program was able to connect to the web server

I have this table in MySQL: CREATE TABLE `catheterization`( `catheterization_formnum` varchar(32) NOT NULL, `national_healthcare_patient_id` varchar(32) NOT NULL, `examination_date` date DEFAULT ...

JWT token not being validated

My JWT token validation is not working. In the following first 3 code blocks are JWT generation server. and last is my resource server. Both are ASP.NET Server applications. JWT generator is ...

c++ flat file database access using APIs for a daemon in Ubuntu Linux

I am in the process of writing a flat file database in C++ that would consist of several tables. When I finish it and it is working I want it to run as a separate program accessible by other running ...

I tried to read values from stdclass Object from an API call [duplicate]

How can I read this in php? {"response": [{"errors": {"action": "Failed to Send Message.", "error": "Invalid sender name"}}], "success": false} I only need to get the error:Invalid sender name. ...

How can I save data from external JSON to HTML?

How can I save data from external JSON to HTML? I have a website http://api.nbp.pl/api/exchangerates/rates/A/USD?format=json and I need to save only rates.mid from this query and multiply it by PLN ...

API Authentication beetwen Laravel and lumen

In the last weeks I am building my website with laravel. It communicates with a Restful API (lumen) that performs database and steam trading actions. Here's the issue. How can I authenticate the ...

Using Windows UWA Bluetooth LE API for Proximity Detection

So I'm trying to use my fitbit flex with Bluetooth LE as a proximity device to trigger my windows tablet to do certain things. Right now I have it sort of working using WPF with UWA library like this:...

How to execute Unsplash API authentication workflow

I'm having trouble wrapping my head around how to use Unsplash API authentication workflow into my application. My app is being written in React & Redux. I currently have this much working: ...

Issuing a new token after expiration using Cakephp-jwt-auth [CakePHP 3]

I have a CakePHP 3 API using the cakephp-jwt-auth plugin, at the moment my tokens expires each week, when the token expires the user as to log in again on my iOS App. I want to automatically create ...

Laravel - Modifying data for API only for convenience

Let's assume the following data that is exactly being returned like it's stored into database: [ { "user_name": "User 1", "photo_file": "user1.jpg" }, { "user_name"...

Google People API; google token response object null for second time login; ListConnectionsResponse object null always

GoogleTokenResponse tokenResponse = null; try { tokenResponse = new GoogleAuthorizationCodeTokenRequest( httpTransport, jsonFactory, clientId, clientSecret, params[0], ...

How to get string from API depending on another string in same section?

(Sorry if the title doesn't make much sense, I had no idea how to word the question right and that was the best way I could think of) So I have an API (the steam API) that returns something like this:...

Connection Refused Error on React

I'm trying to connect my react app to a rails api, however, i can't seem to get the data. The error message is GET http://localhost//3000 net::ERR_CONNECTION_REFUSED Fetch Error :-S TypeError: ...

How do I select a '<td>' and navigate to url using jquery?

I am using jquery to pull football data from an api as follows type: 'GET', dataType: 'json', url: "http://api.football-data.org/v1/competitions/426/teams", processData: true, //idLength: url....

USSD Api for Mobile Operator

I am looking for Api that can be used in a application to provide mobile operators Facebook on USSD service. Does anyone know where to get these Api's from. I have heard that Facebook provides these ...

Ticketmaster api returns null- Xamarin android

I'm trying to get a list of all events in LA using ticketmaster Discovey API. but it keep returning null although I have a valid key ! below is a relvent subset of the code public class EventList { ...

Hive Installation Issue

akshay@akshay:/usr/local/hive/apache-hive-2.1.0-bin/bin$ sudo /usr/local/hive/apache-hive-2.1.0-bin/bin/hive SLF4J: The requested version 1.6 by your slf4j binding is not compatible with [1.5.5, 1.5.6,...

React + Axios:Uncaught TypeError: Cannot read property 'type' of undefined --> something with my promise isn't adding up

I'm using the following: "axios": "^0.15.3" "react": "^15.4.2" "react-redux": "^5.0.3" "redux": "^3.6.0" "redux-immutable": "^3.1.0" I want to retreive data from the City of Boston's data portal. ...

Difficulty Running Youtube API Sample

Trying to run the search sample for the Youtube Data API samples but I have been unsuccessful so far. I am on Mac OS Sierra using Google Chrome version 57 . What I have done: 1) I have created a ...

Is there a way to schedule assignments in google classroom API

Is there a way one can schedule assignments using classroom API?

Json decode Undefined index while inserting

json { "data": { "acct": [ { "maxaddons": "1", "ip": "192.168.0.20", "ipv6": ["0101:ca75:0101:ca75:0101:ca75:0101:ca77"], "...

How to Use Power BI API from JavaScript

Can anyone provide an example of using the Power BI Api with JavaScript, that would work from a server (no interactive authentication)? The end goal is to periodically push data to PBI with no user ...

check if a particular location falls on the path between two locations

How to check if a particular location (LatLng) falls on the path connecting between two locations already given. The path between these locations is fetched using the google direction API specified ...

Retrofit 1.9 cache issue not getting data when connection offline

I am trying to add cache and retrive them when I am offline. My API working when internet is ON but after that when offline I am not able to retrive. This is what I am trying to do. protected ...

Use XMLHttpRequest to load multiple audio files and append them to play in Web Audio API

I have a web that do, load 3 different audio files (each 1 second tho) with determined order and then merge then into one single Audio Buffer (one after another) To demonstrate what I want to do, ...

I want array inside json with

"events": [{ "id":"1", "e_name":"event1", "event_image":{"1":"image_url":"//event_image/event1.jpg", "2":"image_url":"//event_image/event1.jpg", "3":"image_url":"//...

Calling another API during asynchronous parsing in Swift

Runs the highlighted API during asynchronous parsing. At the bottom of the screenshot there are additional codes that need to reference the result of the getblockuser () API. So is there a way to have ...

cors error while calling airbnb api

I have been trying to use airbnb api from this link. I know it is not an official api but I really need to use it in my website. But I am getting CORS (Cross-Origin Resource Sharing) error and I ...

Browse list in python and get data

I want to get the total number of views of a serie of videos on Youtube about a concrete topic. I have this code, but it doesn't work because I am not getting the correct data from the list "videos". ...

Rails chat api with action cable

I have following models class Message < ApplicationRecord belongs_to :user belongs_to :event after_commit { MessageBroadcastJob.perform_later self } end class Event < ApplicationRecord ...

I would like to create graphs with php using database without any chart libraries.Is it possible?

I am trying to create charts and graphs with PHP for the data stored in the database.I had checked out some answers which suggest certain charting libraries.Can't we generate graphs without libraries? ...

Google Calendar API and extensions

I am developing my first extension for google chrome, that works with the Google Calendar API. The goal of my extension right now is to read the details of a singular event in my calendar. So far I ...
Translating... 0%