Skip to 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.

License

Notifications You must be signed in to change notification settings

AlberLC/flanaapis

Repository files navigation

FlanaApis

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

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Packages