FlanaApis
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
- Library functions:
flanaapis.geolocation.functions.find_place(...)
1.2) Find places on earth
- Library functions:
flanaapis.geolocation.functions.find_places(...)
1.3) Find timezone
- Library functions:
flanaapis.geolocation.functions.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.
- Library functions:
flanaapis.scraping.twitter.get_medias(...)
- Api endpoints:
POST https://flanaserver.ddns.net/flanaapis/medias with parameters {“text”: “any link/s”}.
2.2) Instagram
- Library functions:
flanaapis.scraping.instagram.get_medias(...)
- Api endpoints:
POST https://flanaserver.ddns.net/flanaapis/medias with parameters {“text”: “any link/s”}.
2.3) TikTok
- Library functions:
flanaapis.scraping.tiktok.get_medias(...)
- Api endpoints:
POST https://flanaserver.ddns.net/flanaapis/medias with parameters {“text”: “any link/s”}.
2.4) YouTube
- Library functions:
flanaapis.scraping.youtube.get_medias(...)
- Api endpoints:
POST https://flanaserver.ddns.net/flanaapis/medias with parameters {“text”: “any link/s”}.
2.5) Google weather
Based on github.com/lfhohmann/google-weather-scraper.
- Library functions:
flanaapis.scraping.google_weather_scraper.get_forecast(...)
- Api endpoints:
see 3) Weather
3) Weather
Gets the waether data mean from several sources:
- Library functions:
flanaapis.functions.weather.get_day_weathers_by_place(...)
Metadata
Release files for flanaapis 1.6.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| flanaapis-1.6.2.tar.gz | 24.1 kB | Without provenance | Details for flanaapis-1.6.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| flanaapis-1.6.2-py3-none-any.whl | Python 3 | none | any | Details for flanaapis-1.6.2-py3-none-any.whl |
Total release size: 56.2 kB
Release files / flanaapis-1.6.2.tar.gz
| Download URL | flanaapis-1.6.2.tar.gz |
|---|---|
| Size | 24.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4a2aba077f5da42421886bebf9d6c28de0b0d917df50b90722b1017aeba65e7b
|
|
BLAKE2b-256 checksum How to use checksums |
250bf58e6ea763d82153bbf838df90cdddd1320b592f28a917b6ba58562fbfd0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.3
|
Release files / flanaapis-1.6.2-py3-none-any.whl
| Download URL | flanaapis-1.6.2-py3-none-any.whl |
|---|---|
| Size | 32.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
18019618f2ad4a052dc4c95d84b0f91b5d5cefd80d25165215a1f2318cf66829
|
|
BLAKE2b-256 checksum How to use checksums |
56873094f6dbf1dce19f9176b4f78d4e99e52d1c9bd289ba9d018abb00f939d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.3
|
Security for flanaapis 1.6.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.