Skip to main content

pyusuggest

Introduction

This package implements a simple class to integrate with amazing Ubersuggest tool. But what is the Ubersuggest tool anyway? It's a powerfull engine that can give statistics about keywords choosed by the user, taking as params the locale. Unfortanelly, this tool doesn't have a native API, so I decide to contribute. Home made.

Index

Installation

pip install pyusuggest

Dependencies

  • requests
  • pytest

API

Instancing the Ubersuggest

from pyusuggest import Ubersuggest
keyword = 'algorithm'
ubersuggest = Ubersuggest(keyword)

Request data from Uberssugest

ubersuggest.look_up()

Params

For instancing Ubersuggest:

  • keyword

    • Keyword or prase that will be used in the query of Ubersuggest tool.
  • locale

    • The region that will be used in the query. Must follow the padron en-us. Default locale is en-us.

For use look_up method:

  • results

    • Quantity of results that will be returned by the query. The default number is 50.

Get monthly statistics

You can get monthly statistics for the keyword searched and the related searches. The monthly statics show how many times that keyword was searched for each month.

ubersuggest.set_keyword('databases')
ubersuggest.look_up()
ubersuggest.get_monthly_statistics()

Params

For use the get_monthly_statistics method:

  • period: number of months that the user wants to track. If no period is passed as argument, every month will be returned.

Download results as CSV

You can also download the results from each keyword in CSV format. It will write a CSV file in the current working directory with the Search Volume, CPC and Competition info.

ubersuggest.set_keyword('java')
ubersuggest.look_up()
ubersuggest.download_results_as_csv()

Params

For use the get_monthly_statistics method:

  • No params are required for this method.

Documentation

Other methods and option params can be checked at documentation.

Release files for pyusuggest 1.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyusuggest 1.0.5
File Size Uploaded
pyusuggest-1.0.5.tar.gz 4.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyusuggest 1.0.5
File Interpreter ABI Platform
pyusuggest-1.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 10.8 kB

Release files / pyusuggest-1.0.5.tar.gz

Download URL pyusuggest-1.0.5.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
69dbcf0e4cb95e9430ee7b0c10736aedf8411b1f0b370ed8cac18e4bb755c160
BLAKE2b-256 checksum
How to use checksums
a26fd61acc88585ef7f73c0d4c2b4da210500bed61a7c998b89592ae89e06ca4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

Release files / pyusuggest-1.0.5-py3-none-any.whl

Download URL pyusuggest-1.0.5-py3-none-any.whl
Size 5.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0471c6e0f110e0a8c6f1a53b4f4bb23d0afb71693716fee531e0a57063d6fd1c
BLAKE2b-256 checksum
How to use checksums
01e9832a2e259caba0113f659f049103359f45cd160ce6c10d4ea1add7e5b0f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

Release history Release notifications | RSS feed

This release

1.0.5 This release

2 release files

1.0.4

2 release files

1.0.1

1 release file

1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page