You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org

Nova Resource:Yandex-proxy/Documentation

From Wikitech-static
Jump to navigation Jump to search

Yandex-proxy provides a static IP for communication with the Yandex.XML search API. Yandex.XML is a service that lets you query the Yandex search engine using a registered account. Yandex allows 10,000 automated search requests per day to a registered account which has a confirmed telephone number.

Usage

  • Register for an account at passport.yandex.com
    • Specify that your requests will come from the IP address 208.80.155.189
    • Select the worldwide search service rather than the Russian search service. The proxy is only set up to interface with the worldwide service at https://yandex.com.
  • Read the Yandex.XML search API documentation and implement your client application.
  • Send your API requests to https://yandex-proxy.wmflabs.org and they will be transparently proxied to https://yandex.com via the 208.80.155.189 static IP address.

How it works

https://yandex-proxy.wmflabs.org is a web proxy pointing at an instance in the yandex-proxy project with a static IP address. The instance is running an Nginx web server configured as a reverse proxy. All HTTP requests sent to this proxy will be relayed to https://yandex.com and the upstream response will be provided back to the requesting client. Details of the Nginx configuration are available on GitHub.