Code Monkey home page Code Monkey logo

vitiplace-client's Introduction

Vitiplace client

This module helps to interact with your wine collection data from the vitiplace website.

It is able to contact the vitiplace website to fetch information about:

  • Wine
  • Millesime
  • Location
  • Purchase history

One of the main feature is to save your data on your filesystem in json format.

Usage

  1. Require python 3.6+
  2. Install the dependencies
  3. Set up your credential through env vars to be used automatically (optional)
    1. export VITIPLACE_CLIENT_EMAIL=your_email
    2. export VITIPLACE_CLIENT_PASSWORD=your_password

As code

from vitiplace_client.website_view import (
    VitiplaceView,
)

viti_view = VitiplaceView()
viti_view.login() 
# Or if env vars are not net: 
# viti_view.login(
#   email="your_email",
#   password="your_password"
# )
page = viti_view.get_board_page()

From CLI

python vitiplace_client/cli.py backup \
    -f /path/to/backup/file.json \
    # Following arguments if env vars are not net
    # --username your_username \
    # --password your_password

About

Contribution

Any contribution is welcome as long as the code is of quality. Please open an issue first. You are welcome to fork the project :)

Data privacy

No data is collected by a third party.

Everything is run on your computer locally. All the code is visible here if you have doubt. You should provider yourself your credentials to connect to your vitiplace account.

Affiliation

This project is not affiliated to the official vitiplace website. It is a project I made for backuping my data as the feature is not provided and I never got an answer from them.

vitiplace-client's People

Contributors

morikko avatar

Watchers

 avatar  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.