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) YouTube

2.5) 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 waether data mean 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.6.2.tar.gz (24.1 kB view details)

Uploaded Source

Built Distribution

flanaapis-1.6.2-py3-none-any.whl (32.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for flanaapis-1.6.2.tar.gz
Algorithm Hash digest
SHA256 4a2aba077f5da42421886bebf9d6c28de0b0d917df50b90722b1017aeba65e7b
MD5 54cfd1781eebee629f12837059dd3e9b
BLAKE2b-256 250bf58e6ea763d82153bbf838df90cdddd1320b592f28a917b6ba58562fbfd0

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for flanaapis-1.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 18019618f2ad4a052dc4c95d84b0f91b5d5cefd80d25165215a1f2318cf66829
MD5 56bc843f514855bb5277a069dd802582
BLAKE2b-256 56873094f6dbf1dce19f9176b4f78d4e99e52d1c9bd289ba9d018abb00f939d3

See more details on using hashes here.

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