GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - andchir/various-useful-api-django: Various useful APIs.

BranchesTags
Open more actions menu

Latest commit

 

History

297 Commits
297 Commits

Folders and files

NameName
Last commit message
Last commit date
app
app
 
 
experiments
experiments
 
 
github_tasks
github_tasks
 
 
main
main
 
 
marketplace
marketplace
 
 
screenshots
screenshots
 
 
.env-example
.env-example
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
manage.py
manage.py
 
 
requirements.txt
requirements.txt
 
 
schema.yml
schema.yml
 
 
various-useful-apis.service
various-useful-apis.service
 
 
various-useful-apis.socket
various-useful-apis.socket
 
 

Repository files navigation

Various useful APIs

Various useful APIs for api2app.ru.

screenshot #1 screenshot #2

API Endpoints

Description Group URL
Users management (CRUD operations) Users /api/v1/users
Groups management (CRUD operations) Users groups /api/v1/groups
Products monitoring (CRUD operations) Price monitoring /api/v1/products
List product names Price monitoring /api/v1/products/list_names
List cities Price monitoring /api/v1/products/list_cities
List shop names Price monitoring /api/v1/products/list_shop_names
Log owners management (CRUD operations) Logging /api/v1/log_owners
Log items management (CRUD operations) Logging /api/v1/log
Create log record Logging /api/v1/create_log_record
Create log record by UUID Logging /api/v1/create_log_record/<owner_uuid>
Get video information (yt-dlp) YouTube /api/v1/yt_dlp
Get video information (pytube) YouTube /api/v1/youtube_dl
Download video from YouTube YouTube /api/v1/youtube_dl/download
List Google Translate languages GoogleTransTTS /api/v1/googletrans_languages_list
Translate text GoogleTransTTS /api/v1/googletrans_translate
List Google TTS languages GoogleTransTTS /api/v1/google_tts_languages_list
Generate speech from text (gTTS) GoogleTransTTS /api/v1/google_tts
List all available voices EdgeTTS /api/v1/edge_tts_voices_list
List voices by language EdgeTTS /api/v1/edge_tts_voices_list_by_lang/<language>
List available languages EdgeTTS /api/v1/edge_tts_languages_list
Generate speech from text (edge-tts) EdgeTTS /api/v1/edge_tts/<voice_id>
Password generator Other /api/v1/password_generate
Fact-checking explorer FactCheckExplorer /api/v1/fact_check_explorer
Upload and share files on YandexDisk YandexDisk /api/v1/upload_and_share_yadisk
YandexCloud Assistant integration YandexGPT /api/v1/yandexgpt_assistant
Get Coggle diagram node data Coggle /api/v1/coggle_nodes/<diagram_id>/<node_id>
Create and store embeddings OpenAI Embeddings /api/v1/store_create
Query stored embeddings OpenAI Embeddings /api/v1/store_question
Extract frame from video Video /api/v1/extract_video_frame
Replace or add audio track to video Video /api/v1/replace_video_audio
Trim video segment Video /api/v1/trim_video
Concatenate multiple videos Video /api/v1/concatenate_videos
Create website screenshot Screenshot /api/v1/website_screenshot
Generate widget embed code for chat integration Widget /api/v1/widget_embed_code
Generate QR code from text or URL QR Code Generator /api/v1/qr_code_generator
Extract text from images using OCR OCR Text Recognition /api/v1/ocr_text_recognition
Convert currencies Currency Converter /api/v1/currency_converter
Get weather information Weather API /api/v1/weather
Check text similarity/plagiarism Plagiarism Checker /api/v1/plagiarism_checker
Convert SVG to CSS background-image data URL CSS Tools /api/v1/svg_to_css_background
Generate CSS gradient code (linear, radial, conic) CSS Tools /api/v1/css_gradient_generator
Generate CSS box-shadow code CSS Tools /api/v1/css_box_shadow_generator
Generate CSS transform properties (rotate, scale, translate, skew) CSS Tools /api/v1/css_transform_generator
Generate CSS animation and keyframes code CSS Tools /api/v1/css_animation_generator
Generate CSS filter effects (blur, brightness, contrast, etc.) CSS Tools /api/v1/css_filter_generator
Generate CSS triangle using borders CSS Tools /api/v1/css_triangle_generator
Create a new store (торговая точка) Marketplace /api/v1/store/create
Update store details Marketplace /api/v1/store/update/<write_uuid>
Get store details and menu items Marketplace /api/v1/store/<read_uuid>/menu
Create menu item (товар) Marketplace /api/v1/store/<write_uuid>/menu/create
Create shopping cart Marketplace /api/v1/cart/create/<read_uuid>
Add item to cart Marketplace /api/v1/cart/<cart_uuid>/add
Remove item from cart Marketplace /api/v1/cart/<cart_uuid>/remove

Installation and management

Create superuser:

python manage.py createsuperuser

Migrations:

python manage.py makemigrations
python manage.py migrate

Run server in development mode:

python manage.py runserver

Copy all files from static folders into the STATIC_ROOT directory:

python manage.py collectstatic

Generate API schema:

python manage.py spectacular --color --file schema.yml

API schema URLs:

/api/schema/swagger-ui/
/api/schema/redoc/

Deploy:

sudo nano /etc/systemd/system/various-useful-apis.service
sudo nano /etc/systemd/system/various-useful-apis.socket

systemctl daemon-reload

Enable and start the socket (it will autostart at boot too):

sudo systemctl start various-useful-apis.socket
sudo systemctl enable various-useful-apis.socket

sudo service various-useful-apis start

Commands:

./manage.py site_monitoring --uuid=4217211a-80e5-11ef-b5ed-9fe997cb3299
./manage.py site_monitoring_log --uuid=4217211a-80e5-11ef-b5ed-9fe997cb3299

*/3 * * * * /home/andrew/python_projects/site_monitoring/venv/bin/python /home/andrew/python_projects/site_monitoring/manage.py site_monitoring > /dev/null

About

Various useful APIs.

api2app.ru/ru/apps/shared/c9a5c06e-a8be-11ee-9876-525400f8f94f

Resources

Readme
MIT license
Activity

Stars

2 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.