Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ninemoreminutes/lmiapi
Basic Python interface to the LogMeIn Central REST API.
https://github.com/ninemoreminutes/lmiapi
Last synced: 6 days ago
JSON representation
Basic Python interface to the LogMeIn Central REST API.
- Host: GitHub
- URL: https://github.com/ninemoreminutes/lmiapi
- Owner: ninemoreminutes
- License: other
- Created: 2014-02-16T18:25:59.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T23:50:54.000Z (almost 2 years ago)
- Last Synced: 2024-04-16T02:05:49.931Z (7 months ago)
- Language: Python
- Size: 21.5 KB
- Stars: 0
- Watchers: 4
- Forks: 3
- Open Issues: 4
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
LogMeIn API
===========This library provides a structured interface to retrieve the data from your
LogMeIn Central account.This project is not sponsored by or in any way affiliated with LogMeIn, Inc.
LogMeIn is a registered trademark of LogMeIn, Inc.Public API v2
-------------This interface connects to the official public LogMeIn Central REST API. It
requires credentials obtained from the LogMeIn central web interface at
https://secure.logmein.com/frontend/#/users/psk.LogMeIn's API v2 documentation can be found at:
https://developer.logmein.com/api/api-reference/from lmiapi import LogMeInPublicAPIv2
auth = {'companyId': 123467890, 'psk': 'abcde12345ABCDE12345'}
lmi = LogMeInPublicAPIv2(auth)
lmi.authentication()
print(lmi.list_hosts())More examples using this API can be found in examples/public_v2.py.
Public API v1
-------------This interface connects to the official public LogMeIn Central REST API. It
requires credentials obtained from LogMeIn support.LogMeIn's API documentation can be found at:
https://secure.logmein.com/welcome/documentation/EN/pdf/LogMeInCentralPublicAPIReference.pdffrom lmiapi import LogMeInPublicAPIv1
auth = {'companyId': 123467890, 'psk': 'abcde12345ABCDE12345'}
lmi = LogMeInPublicAPIv1(auth)
lmi.authentication()
print(lmi.hosts())More examples using this API can be found in examples/public_v1.py.
Central API
-----------This interface mimics the requests made using the LogMeIn Central Web UI to
provide additional information unavailable via the public API. It relies upon
undocumented URLs and interfaces, and may break at any time if LogMeIn updates
their services. It requires only your email address and password.from lmiapi import LogMeInCentralAPI
lmi = LogMeInCentralAPI(email='[email protected]', password='l0gm31n')
print(lmi.get_all_hosts())More examples using this API can be found in examples/central.py.