Questions tagged [yandex-api]

Web APIs from Russian internet company Yandex (Яндекс), including Maps, Money, Metrica, Direct, Disk, and Webmaster

Yandex (Яндекс, Jandeks) is a Russian search engine and internet company. They provide a set of APIs, mostly s for web developers. The APIs are based on popular Yandex consumer products, including Yandex.Maps, Yandex.Money, Yandex.Metrica, Yandex.Direct, Yandex.Disk, and Yandex.Webmaster.

102 questions
4
votes
1 answer

How to embed a Yandex map in Angular?

I have a Yandex map widget and I want to embed it in an Angular component. I am using Angular(v6) I tried to embed scripts and the root element in a tree: ngAfterViewInit() { this.renderMapWidget(); } renderMapWidget() { const ymapsScript =…
ptortyr45
  • 147
  • 1
  • 11
4
votes
1 answer

HTTPBadRequest {"error_description": "Code has expired", "error": "invalid_grant"} for Oauth authentification, Ruby on Rails

I am having weird behavior of my omniauth app. Basically, I have admin panel to whom access it is required to authenticate with Yandex account. Problem: I did everything as required in multiple guides and everything worked fine since yesterday I…
Edgars
  • 913
  • 1
  • 19
  • 53
4
votes
0 answers

Is here a possibility to use yandex tiles with custom TileProvider Android Google Maps v2?

As yandex map documentation says: In contrast to certain other cartographical services, Yandex.Maps uses the elliptical Mercator projection (complying with WGS 84), rather than the spherical projection. This is why a Yandex map will not match up…
ar-g
  • 3,417
  • 2
  • 28
  • 39
3
votes
1 answer

Node.js: create a txt file without writing to the device

I have a problem. In my project I get a text and send this text to remote API in .txt file. Now the program does this: getting a text, saving a text in a .txt file in filesystem, uploading a .txt file to remote API. Unfortunately, remote API accepts…
Myxomor
  • 33
  • 4
3
votes
1 answer

Get address by coordinates in react-yandex-maps

I'm trying to get address by coordinates using react-yandex-maps. I know how to do it in functional component. But I really need to use class component instead. I need to get ymaps. But have no idea how to do that. Couldn't find well-explained…
Bakhrom
  • 195
  • 1
  • 3
  • 12
3
votes
1 answer

Android Translation application using yandex api showing result in emulator text view but not in real device

I am trying to make a translation application from English to Bangla using Yandex API. It works fine in the emulator but in the real device it shows result for only one word in the text view but when writing a sentence it shows null / nothing. I…
Shahriar
  • 63
  • 8
3
votes
2 answers

select an xml element, ignore element name, print newline

I'd like to select the first element, but ignore its name in the output. This is what I'm getting, after requesting the first url element from each input xml file: % xmllint \ --xpath '(//yandexsearch/response/results/grouping/group/doc/url)[1]' \ …
cnst
  • 25,870
  • 6
  • 90
  • 122
3
votes
1 answer

WebDAV get free space info

I'm working with Yandex Disk API (http://api.yandex.com/disk/doc/dg/reference/propfind_space-request.xml). Having trouble with adding property in the request body (quota-available-bytes and quota-used-bytes) public static string SpaceInfo(string…
Aragas
  • 33
  • 1
  • 4
3
votes
2 answers

Yandex Map for iOS

I need to integrate in my iOS app Yandex Map. Do you have a good examples? I use https://github.com/yandexmobile/yandexmapkit-ios, but it doesn't help me. How can I init YMKMapView? Please help me. Thank you
someone
  • 61
  • 1
  • 10
2
votes
1 answer

How to Pass in an OAUTH Token Correctly

I'm trying to request information from an API. The way I'm passing in the OAUTH Token is wrong, I assume. import requests import json URL = "https://api.direct.yandex.com/json/v5/keywords" token = "/* Access Token */" PARAMS = { …
2
votes
0 answers

OAuth Authentication through Google and Yandex

I have the next error when create OAuth Authentication through Google and Yandex. How to resolve it? Or is there another way? Method userInfoRestTemplateFactory in…
2
votes
2 answers

Yandex Disk API can't make request with access token node.js

I successfully generated an access token but now I can't use it. Sadly there is no official yandex node library for using the API. There are 2 unofficial npm module that will only work with a server but I want it localhost. As example with code like…
t33n
  • 270
  • 1
  • 3
  • 17
2
votes
1 answer

How to use Yandex Map by Vaadin UI Framework?

i want to use Vaadin framework to my application, I need a map. I can not use Google Map because it doesn't describe my city well, but yandex maps do. In API i read that it seems easy with html: ... ... Then prepare div container: How i can use by…
Rinat Tainov
  • 1,479
  • 2
  • 19
  • 39
2
votes
1 answer

Yandex Oauth authorization code always expired, Ruby On Rails

I followed this guide to implement Yandex Oauth in my Ruby On Rails app. Few weeks I had no problems with it, but recently (few days ago) I am experiencing problem. I can't get access token, refresh token and etc. because my request fails with 400…
Edgars
  • 913
  • 1
  • 19
  • 53
2
votes
2 answers

Add Yandex Map in android application

I want to add a Yandex Map into my android application. The question can be seem a little long but that is because of I shared all my codes. Thanks for your patience in advance. I couldn't find much source compare to Google Maps naturally. I used…
Hilal
  • 902
  • 2
  • 22
  • 47
1
2 3 4 5 6 7