Newest api Questions

Q&A for professional and enthusiast programmers

Is it possible to import image on Pinterest from other site?

I'm working on a web application where the user can personalize a product. So he can add texts, images on a t-shirt for example. I would like to add a function in order to share the product on ...

JavaScript array comparison with JSON response

I have this project I'm working on and I need to get all the vacant rooms from my school's timetable where I get my data from a JSON response. The JSON response looks like this: { "status": "...

Revit API - ToRoom and FromRoom Door properties

While trying to get the ToRoom and FromRoom properties of a door, I get some unexpected results. Given door A and door B, both identical families, both should have a ToRoom property equal to "Pre ...

Node.js get specific keys+values out of big JSON String

I got a question about JSONStream. This is my code. var neUrl = "https://euw.api.riotgames.com/api/lol/euw/v2.5/league/by-summoner/someid?api_key="+my_api_key; https.get(neUrl, ...

Has anyone implemented Amazon Affiliate Api for affiliate Transactions tracking ?

Has anyone implemented Amazon Affiliate Api for affiliate Transactions tracking ? as one of my project requires this. If someone had already did it then please share. Appreciate it. In the mean time i ...

How to cancel NodeJS API and Mongoose query execution?

I am creating an API using MEAN stack which returns GeoJSON for Google Map. GeoJSON is used to draw (multi)polygon on it. The API takes zoom level and bounding box as parameter and based on that the ...

Upload Google Drive API Retrofit 2

Here is the interface for Retrofit2: public interface OAuthServerIntf { .... @POST("upload/drive/v3/files?uploadType=multipart") @Multipart Call<JsonObject> uploadFileMutil( @Header("...

Gsuit super admin and create google api project

What i should do to create google API project using my g-suit super admin account, because i want to access to my g-suit using google PHP API library. When i try to create new project in my google ...

how to call an API and populate the response in React

So I want to call the google finance API every time I click on the refresh button and the stocks.stock should get updated. I have written the following code so far and now I don't know how to proceed ...

Uploading multiple files API

We need to build a marketplace mobile application, so users can add products, each product can have 1 and more pictures. What are best approaches to build an API for that? Pictures should be ...

How to use map API to calculate the distance in km in android

I have my API to calculate the distance. However, I am unable to get the codes to use the API. I am novice in android.Please provide the codes to use the API. I was using the latitude longitude but ...

Rails 5 API and Real time notifications

I'm creating a Rails 5 API only and I need to create a real time web notifications. I have already seen the answer Rails 5 API + Real time notifications, But I still don't quite understand. Does ...

i cannot post to the tumblr throug api

i am able to get accesstoken from code. and post from postman. this my code.*401 response** using (HttpClient client = new HttpClient()) { var da = new Dictionary<...

Reusable Component

I want to create a reusable component and looking for best approach expert may say 1. As a Web Service 2. Building using native component like jar in Java 3. Others I Understood that each method has ...

Windows Desktop Duplication API [duplicate]

I would like to implement my own mirroring protocol, I'm trying to use Windows Desktop Duplication API for the client. https://msdn.microsoft.com/en-us/library/windows/desktop/hh404487(v=vs.85).aspx ...

How does the network tracing in Visual Studio works?

I am using the following code for network tracing. But how does it works, have no idea. FileStream objStream = new FileStream("E:\\Jitesh.txt",FileMode.OpenOrCreate); TextWriterTraceListener ...

Use MS Bot Framework to integrate with a REST API

I'm trying to build a bot that would integrate with a REST API. To be more specific, the bot should log into the API, based on credentials provided by the user. Based on certain questions that is ...

Asynchronous communication is included in the loop processing, so the return value is wrong

Cause (maybe) Asynchronous communication and synchronous communication are mixed in loop processing, and it is not properly looped What I want to realize When inserting the following Script tag in ...

Campaign objective using Twitter Ads API

Using Twitter Ads API to get Twitter Campaigns statistics. ENTITY: CAMPAIGN METRIC GROUPS: [ENGAGEMENT, WEB_CONVERSION, BILLING] GRANULARITY: DAY I am getting all the fields I want through above ...

angularjs multiple select using api-url{{}}

I am using angular multiple select to display data from api response, but I dont know how to provide api-url{{}} to list all the branch names, I also want to keep the id because I need to send ids of ...

REST API with PHP

I'm currently working on an API to save users, so I can sign them up via Android with Retrofit. I already have the API up and running, and I can look for an user by Id, but I want to be able to look ...

How to use Rest API and PHP

Very beginner question but simply do not know where to begin. I am trying to obtain a response with this API using PHP but cannot get anything to work. I know the problem has something to do with ...

Can't create a project in console for API Keys due to no access? I don't have any projects and/or API Keys

I'm having a hard time creating a Google API key for Google Maps and it won't let me create a project so that I can get the keys I need for my Wordpress website. Here is the error I kept getting (see ...

How to set-up Jenkins-SoapUI Composite Project using Maven

The basic set-up for Jenkins-SoapUI CI is by providing the specific XML project File. See below configuration. <configuration> <!--soapUI project file location--> <...

Python Flask Web API [Heroku]: It runs locally but shows Application Error when deployed

I have done a search on StackOverflow looking for an answer that will help me to get my Web API working, but somehow, I still don't have the answer that I need. I have followed all the necessarily ...

Laravel 4 REST API using Retrofit in Android Studio

I'm trying to show some list in android using retrofit. I'm using rest api laravel with url http://ecinema.esy.es/public/kota the result [ { "idKota": "1", "namaKota": "Yogyakarta", "flag": "1",...

VS2015 compile errors with Win API GetIscsiSessionList of Iscsidsc.h

I want to user a Windows API called GetIscsiSessionList to get the information of session list. I came across with a compile problem, VS2015 complains as follows: VS complians of GetIscsiSessionList:...

The request was aborted: Could not create SSL/TLS secure channel HttpClient

I am trying to access a web api using below C# code : private static CertificateContext authenticationContext; authenticationContext = new CertificateContext(new Uri(endpoint), ThumbPrint); var ...

Making an api request data into a url

Im making an api call and receiving the data, Im trying to make the url and content load to my blog using an http request, to avoid having to rewrite my work. Here is an example of what im trying to ...

Xamarin Forms HttpClient decide between two severs which one of them is up/active/responding

The scenario is this. On the company network, api url is different and when accessed from the outside, it is different. So when the xamarin forms appliaction starts, i need to test which of the two ...

Google Maps API : Popular Times

I would like to know if it's possible to get the data of "Popular Times" for a specific space, like a bar, a restaurant, etc. with Google Maps API ? I want to use those informations for several ...

Making a call to Google maps API's but getting empty response

I'm trying to communicate with Google trough cURL in Laravel 5.3. I get an empty response but a 200 status code. Here's my code: public function directionGet($origin, $destination) { $...

Best API to read/write EXCEL documents with spring mvc

I am developing a web application with spring-mvc, hibernate and MySQL. I need to : export data from Database table to an EXCEL document. import an excel file , read data, and insert this data in my ...

Custom PHP API, JSON Response and Xamarin JSON Parsing

I have built my own custom PHP API which should returns a JSON response built with data from my database. My Android app should read and parse the content of the response and put it on a ListView I ...

How do i add Add themoviedb.org API key in root/local.properties?

Here is the link to the GIT Hub project https://github.com/esoxjem/MovieGuide

Validate params from API Post in Rails 4

I am currently building an API which is consumed by third party applications. I want to know the recommended way to validate the attributes that are passed to my app through a JSON request body. Some ...

Web : What is the best way to build the back-end/front-end relation?

I'm starting a PHP/JS Web project using Laravel for the back end and Angular 2 for the front end. But I'm wondering how I should relate these two frameworks. The two solutions I found was : 1 - ...

Scheduling API required for email marketing application [on hold]

Currently our organization is building an application to schedule a number of email campaigns on a monthly basis. As we segment our email lists to a high degree, a main requirement of this application ...

Is it possible to access certain REST API data using cURL?

I know I can use the curl command to pull JSON data from a RESTapi, but I'm wondering if there is a way to request certain sub-data within that JSON API. For example, lets say I call curl -i "https://...

How can I export Sketch screens to custom webpage (like Zeplin)

How can I connect custom webpage(a.k.a. team Wiki) with Sketch3 screens? Currently I'm looking for efficient way to write specifications with UI screenshots. My team's designer uses Sketch to design ...

Android app is not working frequently in Reliance JIO 4G connection

I have an android app which is working completely fine in WiFi and 3G connection of all operators except Reliance Jio. However, I have found that Sometimes the android app is not connecting to my ...

Stormpath information for login

I've been trying to find needed info to get my stormpath api to work so i would have a very basic login funtion to access my app, i've gotten it to work once before in another project but the problem ...

Appending data to JSON

I'm returning some json data as response in a Controller, i want to add some information to In my DriversController extend's Apicontroller in DriversController i'm returning some data on api call, i ...

Unable to make Tableau Rest Api Call with postman

I am trying to make Rest API call in postman Tool for Tableau Signin method, but instead of returning JSON it is returning html. I mean, I am unable to make the correct call,ideally it should return ...

What is the algorithm used in stereo vision spatial mapping?

Microsoft's Hololens and Stereolab's ZED camera are using a stereoscopic spatial mapping by triangular mash over the 3D texture. Any one know what algorithm is used and, what is the geometry behind ...

Pytest Api integration testing, ordering of test

So I am using pytest http://pytest.readthedocs.io/en/reorganize-docs/contents.html as my test runner for API test integration. I want to order my test to avoid having a lot of useless failure. Since ...

Proxy Pattern for APIs need an example

Proxy Pattern for APIs need an example I've read a proxy can be used within an API to call another API (RESTFUL) need example anyone got anything. Thanks in advance.

Boostrap Ajax Modal with Google reCaptcha - call captcha challenge not working twice

I'm trying to implement a CTA form in a Bootstrap modal where the content is loaded asynchronously. So ever time I open the modal, its content is dynamically generated and inserted in the modal. To ...

Why can't I establish a connection to the Uber API?

I ran the code as per the documentation from uber_rides.session import Session from uber_rides.client import UberRidesClient session = Session(server_token=<TOKEN>) client = UberRidesClient(...

Web Audio API gaindrops

I've run into a problem using the Web Audio API. Gain drop example When I connect a gain-node to the chain and change the gain on it, say -6.0dB, it will immediately decrease the gain much more than ...
Translating... 0%