Skip to main content

googlesearch.py Version 1.0

Project description

Google Search

How It Works

  • Get Query From User and Provides Results From Google.

How To Use

  • To show results in webbrowser create the code like this:
# import the module

import google_search_py

# Use .search() to send query and get results from Google, Write The query inside the brackets

google_search_py.search("how to use google api", True)
  • To get results as dict{} create the code like this:
import google_search_py

# Use .search() to send query and get results from Google, Write The query inside the brackets

search = google_search_py.search("how to use google api", False)
print(search)

# Output
{'query': 'how to use google api', 'result': 'https://www.google.com/url?q=https://developers.google.com/cloud-search/docs/guides&sa=U&ved=2ahUKEwi05qzarP3wAhWGV30KHWR_DyEQr4kDMA96BAgBEAI&usg=AOvVaw21fgucAj2WKWCrixbchFqD'}

MIT License | Copyright (c) 2021 Sijey

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software

Project details


Download files

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

Source Distribution

googlesearch.py-1.0.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

googlesearch.py-1.0-py3-none-any.whl (3.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page