Skip to main content

Set of functions that can be used as an imported library or as an api rest running the main.py. There is currently an instance of the api running at https://flanaserver.ddns.net/flanaapis.

Project description

License PyPI PyPI - Python Version

Set of functions that can be used as an imported library or as an api rest running the main.py. There is currently an instance of the api running at https://flanaserver.ddns.net/flanaapis.


Installation

Python 3.10 or higher is required.

pip install flanaapis

Features

1) Geolocation

1.1) Find a place on earth

1.2) Find places on earth

1.3) Find timezone

All geolocation functions and endpoints have a parameter fast: bool. If fast=true (false by default) google maps won’t be used. It will directly use the https://nominatim.openstreetmap.org api but it’s somewhat less precise.


2) Scraping

2.1) Twitter

It use Twitter api, doesn’t really scrape.

2.2) Instagram

2.3) TikTok

2.4) Google weather

Based on github.com/lfhohmann/google-weather-scraper.

  • Library functions:
    • flanaapis.scraping.google_weather_scraper.get_forecast(...)

  • Api endpoints:

3) Weather

Gets the mean of the data from several sources:

  1. openweathermap.org

  2. visualcrossing.com

  3. google.com/search?q=weather

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

flanaapis-1.2.12.tar.gz (20.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flanaapis-1.2.12-py3-none-any.whl (27.1 kB view details)

Uploaded Python 3

File details

Details for the file flanaapis-1.2.12.tar.gz.

File metadata

  • Download URL: flanaapis-1.2.12.tar.gz
  • Upload date:
  • Size: 20.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for flanaapis-1.2.12.tar.gz
Algorithm Hash digest
SHA256 353d3b04b4a7e2d34f6d3339ed19fe10f7061eaa8a8f79e317b19158c021c198
MD5 6a9463790298c87e26e2ea1f3d777b16
BLAKE2b-256 b810ab8ca22b10645ad3d46e5b408dedd001884f93cefefe829ee26d548f36de

See more details on using hashes here.

File details

Details for the file flanaapis-1.2.12-py3-none-any.whl.

File metadata

  • Download URL: flanaapis-1.2.12-py3-none-any.whl
  • Upload date:
  • Size: 27.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for flanaapis-1.2.12-py3-none-any.whl
Algorithm Hash digest
SHA256 26dfcd7c75d4d66d89b2c0ecbe266499865e19f439b80ec847acd1edf2cf9302
MD5 dce7907a85d2d810ecdeb0e34f57c350
BLAKE2b-256 386383fa210fe42b04a09dae3b7c25c51de130349f3fe9442197b33a5595628f

See more details on using hashes here.

Supported by

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