31 lines
658 B
ReStructuredText
31 lines
658 B
ReStructuredText
*******
|
|
VDM API
|
|
*******
|
|
V1.0
|
|
|
|
**VDM API** is a python api for pull random api.
|
|
|
|
Use case
|
|
========
|
|
You can use this API in python langage by instanciate a VDM() object :
|
|
::
|
|
|
|
from VDMAPI.VDM import VDM
|
|
|
|
if __name__ == "__main__":
|
|
vdm = VDM()
|
|
lstAllVDM = vdm.get()
|
|
for i, vdm in enumerate(lstAllVDM):
|
|
print(str(i)+" : "+vdm)
|
|
|
|
|
|
Available GUI
|
|
=============
|
|
|
|
**VDM API** include four display mode :
|
|
|
|
- **i3** : this GUI use dmenu for display the list of VDM
|
|
- **tkinter** : this use tkinter native interface
|
|
- **kivy** : use kivy library
|
|
- **console** : this last mode display the list of VDM in plain text mode
|