A python module for friend.tech
Project description
friendtech - A python module to interact with friend.tech platform
Run pip install friendtech
to install the module!
The module uses friend.tech APIs (by default) and you can change the nodeURL to use any other node.
Developed by ItsAditya
For support join discord: FriendTechFeed
How to Use:
Platform Info
- Getting global activity (list of recent trades on the platform)
import friendtech
import json
platform = friendtech.Platform()
globalActivity = platform.getGlobalActivity().json()
print(globalActivity)
- Getting recently joined users
import friendtech
import json
platform = friendtech.Platform()
recentlyJoined = platform.getRecentlyJoinedUsers().json()
print(recentlyJoined)
- Getting address from twitter username
import friendtech
import json
jwt = <YOUR JWT TOKEN> # get this from local storage of friendtech in your browser
platform = friendtech.Platform(jwt=jwt)
addressInfo = platform.getAddressFromTwitterUsername("itsaditya_xyz").json()
print(addressInfo)
- Getting share and profile info from address
import friendtech
import json
platform = friendtech.Platform()
userInfo = platform.getInfoFromAddress("0xeab1e59d08e927ec19c9249f4841395bc4af43b8").json()
print(userInfo)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
friendtech-0.0.5.tar.gz
(2.7 kB
view hashes)