searchxmlyandex

YandexXMLSearch API, XML to JSON converter


License
MIT
Install
pip install searchxmlyandex==0.0.19

Documentation

Yandex XML Search

You can easily convert XML data to JSON data which fetched from YandexXMLSearch API.

https://xml.yandex.com

Module Page

searchxmlyandex

Dependencies

  • Python >= 3.6

Prerequisites

  • requests

Installing

pip install searchxmlyandex

Usage

Example usage as shown below.

from searchxmlyandex.YandexXMLSearch import YandexXMLSearch
user, api_key = 'username', 'api_key'
query = 'your_input'
parser = YandexXMLSearch(user, api_key, query)

Method List

  • getQuery
  • setQuery
  • search
  • getTotalPageCount
  • getTotalResultCount
  • getAllResults
  • getResponseDate
  • getJSONObject
  • getResultJSONString

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE file for details