Skip to main content

Search in API is a script that allows you to search among multiple pages of an API endpoint.

Project description

Search in API Updates Documentation Status

Search in API is a tool helping to debug import scripts or export APIs. It allows you to search for a specific tag and value among multiple pages of an XML API endpoint or key and value among multiple pages of a JSON API endpoint.

Use Case Example

Let’s say, you have an XML API that provides a playlist of songs. It’s a looooong paginated list and there is no search implemented. You have an urge to find that particular song with a title having a word “Journey” and to check who is playing it. If the songs are listed chronologically by the date added, you would need to search from page to page until you finally get it. This tool does exactly that for you. There you can enter the URL of the first page of XML API or JSON API, enter the tag or key “title”, and the value “Journey”, and a few moments later it will show you the page URLs of the API that contain songs with the word “Journey” in it.

XML and JSON API Endpoints

The XML API endpoint should necessarily have /meta/next/ node defining the URL of the next page as in this XML example.

Similarly the JSON API endpoint should necessarily have the ['meta']['next'] key defining the URL of the next page as in this JSON example.


  • Search for pages with specific occurrences of tag/key and value in multi-page XML or JSON API endpoint.
  • Command-line and graphical user interface.


This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.


1.0.0 (2020-02-05)

  • Python 2 support dropped.

0.7.0 (2019-01-24)

  • Supports both, XML and JSON, API endpoints.

0.1.0 (2018-03-09)

  • First release on PyPI.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for search-in-api, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size search_in_api-1.0.1-py2.py3-none-any.whl (7.1 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size search_in_api-1.0.1.tar.gz (14.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page