-
Notifications
You must be signed in to change notification settings - Fork 4
Get User (v1)
Revadike edited this page Apr 22, 2021
·
1 revision
Host:
barter.vg
orbartervg.com
Path:
/u/:user_id/json
Variables:
Name Type Description :user_id
string The hex ID of the barter.vg user
Name Type Description hexid
string The hex ID of the barter.vg user steam_id
number The steamid64 of a barter.vg user steam_id_string
number The value of steam_id
as a stringsteam_img
string The identifier of the avatar image (the full URL is https://cdn.cloudflare.steamstatic.com/steamcommunity/public/images/avatars/:steam_img
)preferences
object Values for some of the most important user preferences preferences.available
number TODO
preferences.contact_pref
number TODO
preferences.language_id
number TODO
preferences.region
number TODO
preferences.country_id
number TODO
preferences.want_unowned
number TODO
preferences.want_tradable
number TODO
preferences.want_library
number TODO
preferences.want_cards
number TODO
preferences.want_givenaway
number TODO
preferences.avoid_givenaway
number TODO
preferences.want_bundles
number TODO
preferences.avoid_bundles
number TODO
preferences.want_rating
number TODO
preferences.offer_limit
number TODO
preferences.feedback
number TODO
preferences.auto_update_lists
number TODO
enhancedbarter
object User's settings for Enhanced Barter enhancedbarter.setting
number Determines if user is opted into automated offers (when value is 1
)enhancedbarter.updated
number Unix time number of last modification offers_recent_count
number TODO
sasara
number TODO
max_items_per_offer
number A value indicating the maximum items that the user accepts in an offer
GET https://barter.vg/u/a0/json
{
"hexid":"a0",
"steam_id":76561198164997231,
"steam_id_string":"76561198164997231",
"steam_img":"41\/41d0a0ca20c6b460c10e03c6ff8ef23bc6bb7f9d",
"preferences":{
"available":1,
"contact_pref":3,
"country_id":0,
"want_unowned":1,
"want_tradable":0,
"want_library":0,
"want_cards":0,
"want_givenaway":0,
"avoid_givenaway":0,
"want_bundles":0,
"avoid_bundles":0,
"want_rating":0,
"offer_limit":100,
"auto_update_lists":1
},
"enhancedbarter":{
"setting":1,
"updated":1557779065
},
"offers_recent_count":0,
"sasara":0,
"max_items_per_offer":100
}
- Common trading etiquette
- How to value your games
- What to look out for before accepting a trade
- Exercises
-
Ultimate Beginners Guide
- Have:Want (h:w) or Tradable:Wishlist (t:w) ratio
- IsThereAnyDeal (ITAD) / SteamDB historical lows
- Purchase-disabled games
- The grey key market and gg.deals / allkeyshops
- Personally weighing the value systems
- Barter specific tips / things to look out for
- "Keys" - activation types / packages run-down
- Tools
- Common Barter tags and symbols
- GET /app/:app_id/settings/json
- GET /browse/bundles/json
- GET /browse/cards/json
- GET /browse/dlc/json
- GET /browse/json
- GET /browse/tag/:tag_id/json
- GET /bundle/:bundle_id/json
- GET /bundles/json
- GET /giveaways/json
- GET /i/:item_id/json
- GET /i/:item_id/json2
- GET /steam/:steamid/json
- GET /steam/app/:steam_appid/json
- GET /steam/sub/:steam_subid/json
- GET /u/:user_id/b/json
- GET /u/:user_id/c/json
- GET /u/:user_id/d/json
- GET /u/:user_id/f/json
- GET /u/:user_id/json
- GET /u/:user_id/l/json
- GET /u/:user_id/o/:offer_id/json
- GET /u/:user_id/o/accepted/json
- GET /u/:user_id/o/json
- GET /u/:user_id/t/f/:user_id/json/
- GET /u/:user_id/t/json
- GET /u/:user_id/w/json
- GET /u/json
- POST /u/:user_id/o/json