Skip to main content

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

  1. Getting global activity (list of recent trades on the platform)
import friendtech

import json





platform = friendtech.Platform()

globalActivity = platform.getGlobalActivity().json()

print(globalActivity)
  1. Getting recently joined users
import friendtech

import json





platform = friendtech.Platform()

recentlyJoined = platform.getRecentlyJoinedUsers().json()

print(recentlyJoined)
  1. 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)
  1. Getting share and profile info from address
import friendtech

import json





platform = friendtech.Platform()

userInfo = platform.getInfoFromAddress("0xeab1e59d08e927ec19c9249f4841395bc4af43b8").json()

print(userInfo)

Project details


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)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page