1seok2

add firebase

1 +node_modules
2 +.env
3 +.vscode
4 +
5 +key.py
...\ No newline at end of file ...\ No newline at end of file
1 +# Default ignored files
2 +/shelf/
3 +/workspace.xml
4 +# Datasource local storage ignored files
5 +/dataSources/
6 +/dataSources.local.xml
7 +# Editor-based HTTP Client requests
8 +/httpRequests/
1 +<?xml version="1.0" encoding="UTF-8"?>
2 +<module type="JAVA_MODULE" version="4">
3 + <component name="FacetManager">
4 + <facet type="Python" name="Python">
5 + <configuration sdkName="" />
6 + </facet>
7 + </component>
8 + <component name="NewModuleRootManager" inherit-compiler-output="true">
9 + <exclude-output />
10 + <content url="file://$MODULE_DIR$" />
11 + <orderEntry type="inheritedJdk" />
12 + <orderEntry type="sourceFolder" forTests="false" />
13 + </component>
14 +</module>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" encoding="UTF-8"?>
2 +<project version="4">
3 + <component name="ProjectRootManager" version="2" languageLevel="JDK_11" project-jdk-name="11" project-jdk-type="JavaSDK">
4 + <output url="file://$PROJECT_DIR$/out" />
5 + </component>
6 +</project>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" encoding="UTF-8"?>
2 +<project version="4">
3 + <component name="ProjectModuleManager">
4 + <modules>
5 + <module fileurl="file://$PROJECT_DIR$/.idea/check-your-instagram.iml" filepath="$PROJECT_DIR$/.idea/check-your-instagram.iml" />
6 + </modules>
7 + </component>
8 +</project>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" encoding="UTF-8"?>
2 +<project version="4">
3 + <component name="VcsDirectoryMappings">
4 + <mapping directory="" vcs="Git" />
5 + </component>
6 +</project>
...\ No newline at end of file ...\ No newline at end of file
1 +[[source]]
2 +url = "https://pypi.org/simple"
3 +verify_ssl = true
4 +name = "pypi"
5 +
6 +[packages]
7 +
8 +[requires]
9 +python_version = "3.8"
10 +
11 +[dev-packages]
1 # check your instagram! 1 # check your instagram!
2 +
3 +```
4 +python -m pipenv shell
5 +```
......
File mode changed
No preview for this file type
1 +from pyrebase import pyrebase
2 +import os
3 +from config.key import *
4 +
5 +config = {
6 + "apiKey": FIREBASE_APIKEY,
7 + "authDomain": FIREBASE_AUTHDOMAIN,
8 + "projectId": FIREBASE_PROJECTID,
9 + "storageBucket": FIREBASE_STORAGEBUCKET,
10 + "messagingSenderId": FIREBASE_MESSAGINGSENDERID,
11 + "appId": FIREBASE_APPID,
12 + "databaseURL": FIREBASE_DATABASEURL,
13 + "measurementId": FIREBASE_MEASUREMENTID
14 +}
15 +
16 +firebase = pyrebase.initialize_app(config)
17 +
18 +db = firebase.database()
No preview for this file type
1 +# crawler for instagram
1 +click==7.1.2
2 +Flask==1.1.2
3 +gcloud==0.17.0
4 +googleapis-common-protos==1.52.0
5 +httplib2==0.19.0
6 +itsdangerous==1.1.0
7 +Jinja2==2.11.3
8 +jws==0.1.3
9 +MarkupSafe==1.1.1
10 +oauth2client==3.0.0
11 +protobuf==3.15.2
12 +pyasn1==0.4.8
13 +pyasn1-modules==0.2.8
14 +pycryptodome==3.4.3
15 +pyparsing==2.4.7
16 +Pyrebase==3.0.27
17 +python-jwt==2.0.1
18 +requests==2.11.1
19 +requests-toolbelt==0.7.0
20 +rsa==4.7.2
21 +six==1.15.0
22 +Werkzeug==1.0.1
1 +import os
2 +
3 +from config.firebase import db
4 +
5 +print("-" * 60)
6 +
7 +db.child("name").push({"company": "google"})