initial commit
commit
3993ddb7ee
|
|
@ -0,0 +1,3 @@
|
||||||
|
# Default ignored files
|
||||||
|
/shelf/
|
||||||
|
/workspace.xml
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
monday_test
|
||||||
|
|
@ -0,0 +1,14 @@
|
||||||
|
<component name="InspectionProjectProfileManager">
|
||||||
|
<profile version="1.0">
|
||||||
|
<option name="myName" value="Project Default" />
|
||||||
|
<inspection_tool class="PyPackageRequirementsInspection" enabled="true" level="WARNING" enabled_by_default="true">
|
||||||
|
<option name="ignoredPackages">
|
||||||
|
<value>
|
||||||
|
<list size="1">
|
||||||
|
<item index="0" class="java.lang.String" itemvalue="flask-swagger-ui" />
|
||||||
|
</list>
|
||||||
|
</value>
|
||||||
|
</option>
|
||||||
|
</inspection_tool>
|
||||||
|
</profile>
|
||||||
|
</component>
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
<component name="InspectionProjectProfileManager">
|
||||||
|
<settings>
|
||||||
|
<option name="USE_PROJECT_PROFILE" value="false" />
|
||||||
|
<version value="1.0" />
|
||||||
|
</settings>
|
||||||
|
</component>
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.11 (venv)" project-jdk-type="Python SDK" />
|
||||||
|
</project>
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="ProjectModuleManager">
|
||||||
|
<modules>
|
||||||
|
<module fileurl="file://$PROJECT_DIR$/../monday_test/.idea/monday_test.iml" filepath="$PROJECT_DIR$/../monday_test/.idea/monday_test.iml" />
|
||||||
|
</modules>
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
|
|
@ -0,0 +1,10 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<module type="PYTHON_MODULE" version="4">
|
||||||
|
<component name="NewModuleRootManager">
|
||||||
|
<content url="file://$MODULE_DIR$">
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/venv" />
|
||||||
|
</content>
|
||||||
|
<orderEntry type="jdk" jdkName="Python 3.11 (venv)" jdkType="Python SDK" />
|
||||||
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
</component>
|
||||||
|
</module>
|
||||||
|
|
@ -0,0 +1,12 @@
|
||||||
|
from monday.client import Client
|
||||||
|
|
||||||
|
|
||||||
|
class App:
|
||||||
|
def __init__(self):
|
||||||
|
self._client = Client('eyJhbGciOiJIUzI1NiJ9.eyJ0aWQiOjI3NTgyNjU4NywiYWFpIjoxMSwidWlkIjo0NzQxNzc3NywiaWFkIjoiMjAyMy0wOC0xN1QxODoyMzoyMS41MjZaIiwicGVyIjoibWU6d3JpdGUiLCJhY3RpZCI6MTgzMzQ3NjAsInJnbiI6ImV1YzEifQ.3gb_81-hrIf6O7U-TKrsE-bgglkaQn73rbws5yfaT3A')
|
||||||
|
|
||||||
|
def start(self):
|
||||||
|
user = self._client.get_current_user()
|
||||||
|
print(user)
|
||||||
|
# self._client.items.create_item(board_id='1251126894', group_id='today', item_name='Do a thing')
|
||||||
|
item = self._client.create_item(1251126894, 'test', {"Project": "column_value"})
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
from app import App
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
app = App()
|
||||||
|
app.start()
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
eyJhbGciOiJIUzI1NiJ9.eyJ0aWQiOjI3NTgyNjU4NywiYWFpIjoxMSwidWlkIjo0NzQxNzc3NywiaWFkIjoiMjAyMy0wOC0xN1QxODoyMzoyMS41MjZaIiwicGVyIjoibWU6d3JpdGUiLCJhY3RpZCI6MTgzMzQ3NjAsInJnbiI6ImV1YzEifQ.3gb_81-hrIf6O7U-TKrsE-bgglkaQn73rbws5yfaT3A
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
certifi==2023.7.22
|
||||||
|
charset-normalizer==3.2.0
|
||||||
|
et-xmlfile==1.1.0
|
||||||
|
idna==3.4
|
||||||
|
monday-python==0.1.0
|
||||||
|
openpyxl==3.1.2
|
||||||
|
requests==2.31.0
|
||||||
|
urllib3==2.0.4
|
||||||
Loading…
Reference in New Issue