Giter Club home page Giter Club logo

qwik-api's Introduction

MasterHead

Qwik API

This repository contains a collection of Flask API endpoints designed to simplify the usage and execution of tasks using the Cloudways API. These endpoints are designed to return filtered JSON data directly, eliminating the need for additional processing and filtering on the client side.

These endpoints serve as the engine for the majority of the cloud automation scripts, making it easier to integrate automation into various workflows.

Layout

├── apps
│   └── apps.py
├── auth
│   ├── create_keys.py
│   └── ssh_auth.py
├── cleanup
│   ├── cleanup.py
│   ├── delete_keys.py
│   └── key_info.py
├── servers
│   └── servers.py
├── token
│   └── auth_token.py
├── .gitignore
└── README.md

A brief description of the layout:

  • apps folder for apps endpoint files.
  • apps.py fetches app info filtered by project/server ID.
  • auth folder for auth endpoint files.
  • create_keys.py stores key ID(s) created by ssh_auth.py to GCP Firestore.
  • ssh_auth.py creates and uploads SSH key(s) to Cloudways server(s).
  • cleanup folder for cleanup endpoint files.
  • cleanup.py deletes SSH key(s) from Cloudways server(s).
  • delete_keys.pydeletes key ID(s) from Firestore.
  • key_info.pyfetches key ID(s) for deletion.
  • servers folder for servers endpoint files.
  • servers.py fetches server information based on different routes. See API reference for details.
  • token folder for token endpoint files.
  • auth_token.py script generates and returns authentication token.
  • .gitignore file specifying which files and directories to ignore in version control.
  • README.md Project README file providing an overview of the project and its components.

Roadmap

  • Generate and filter authentication token.
  • Fetch IDs of all servers under account.
  • Fetch public IP of all servers under account.
  • Fetch SSH user names of running servers.
  • Fetch app info filtered by server ID.
  • Fetch app info filtered by project ID.
  • Set up SSH keys on all running servers.
  • Set up SSH keys on server(s) filtered by project ID.
  • Set up SSH keys on server(s) filtered by server ID.
  • Export key ID(s) to GCP Firestore
  • Create endpoint to remove keys from Cloudways server and Firestore.

Built with

Python Logo GCP Cloud Functions GCP Firestore

Skills

  • Python development
  • GCP Firestore database management
  • GCP Cloud Functions

Badges

MIT License

Feedback

If you have any feedback, please reach out to me at [email protected]

qwik-api's People

Contributors

elishaj avatar

Stargazers

Hashir Tihami avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.