Skip to content
This repository has been archived by the owner on Apr 27, 2022. It is now read-only.

First step towards adding of bücher.de #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 30 additions & 1 deletion tolinocloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,36 @@ def _hardware_id():
'delete_url' : 'https://bosh.pageplace.de/bosh/rest/deletecontent',
'inventory_url' : 'https://bosh.pageplace.de/bosh/rest/inventory/delta',
'downloadinfo_url' : 'https://bosh.pageplace.de/bosh/rest//cloud/downloadinfo/{}/{}/type/external-download'
}
},
30: {
# Bücher.de'
'client_id' : 'dte_ereader_01',
'scope' : 'ebook_library',
'signup_url' : 'https://www.buecher.de/go/my_my/my_newRegistration/',
'profile_url' : 'https://www.buecher.de/go/my_my/my_data/',
'token_url' : 'https://www.buecher.de/oauth2/token',
'revoke_url' : 'https://www.buecher.de/oauth2/revoke',
'auth_url' : 'https://www.buecher.de/oauth2/authorize',
'login_url' : 'https://www.buecher.de/go/my_my/my_login/receiver_object/my_login/',
'login_form' : {
'username' : 'form[login]',
'password' : 'form[password]',
'extra' : {
'form_send' : 1,
'form[remember_email][]' : "yes"
}
},
'login_cookie' : 'shop[email]',
'reader_url' : 'https://webreader.buecher.de/library/library.html#!/library',
'register_url' : 'https://bosh.pageplace.de/bosh/rest/registerhw',
'devices_url' : 'https://bosh.pageplace.de/bosh/rest/handshake/devices/list',
'unregister_url' : 'https://bosh.pageplace.de/bosh/rest/handshake/devices/delete',
'upload_url' : 'https://bosh.pageplace.de/bosh/rest/upload',
'delete_url' : 'https://bosh.pageplace.de/bosh/rest/deletecontent',
'inventory_url' : 'https://bosh.pageplace.de/bosh/rest/inventory/delta',
'downloadinfo_url' : 'https://bosh.pageplace.de/bosh/rest//cloud/downloadinfo/{}/{}/type/external-download'
},

}

def __init__(self, partner_id):
Expand Down