Skip to content

luc10/gree-api-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Gree API Client

This is a Python client for the Gree API, designed to help you retrieve information about your connected Gree devices.

Installation

To get started, clone this repository to your local machine:

git clone https://github.com/luc10/gree-api-client.git
cd gree-api-client
pip3 install -r requirements.txt

Usage

This script requires you to provide the API URL for your server and your Gree account credentials.

To find your API URL, refer to the list of servers and their corresponding URLs. You must provide one of these URLs as a command-line argument.

The script will prompt you for your password after you run the command.

python main.py --url [your_api_url] --username [your_gree_username]

Example:

For the Europe server, the command would be:

python main.py --url https://eugrih.gree.com --username [email protected]

Server List

Here is the list of available API hosts for different servers. You must provide one of these with the --url argument.

Server Name API Host
Europe https://eugrih.gree.com
East South Asia https://hkgrih.gree.com
North American https://nagrih.gree.com
South American https://sagrih.gree.com
China Mainland https://grih.gree.com
India https://ingrih.gree.com
Middle East https://megrih.gree.com
Australia https://augrih.gree.com
Russian server https://rugrih.gree.com

Author

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages