Skip to content
TORNLIFE More

Item list dictionary

Started by 0x00 [2046172] on in API Development.

10 replies · 1k views · thread synced · 6 days ago · View on torn.com
About this thread

Posts archived: 11 / 11 posts (100%) · the total is Torn's reply count + the opening post at the last fetch

Counted by TornLife from the archived posts.

Archived posts
11
Discussion span
→
People posting
4
Likes on archived posts
14
Authority score
54 / 100
Historical score
36 / 100
Story score
48 / 100
Engagement score
65 / 100
0x00 [2046172]

Here is an item list of every item Torn, I know I have used it for many projects, especially when it includes "searching" for an item, I also replaced all the spaces with "_" to make it easier for searching (by replacing the spaces in user input with "_" so I can use x = user_input.split(' ") and x[1] will ALWAYS be the id which you can put in the API URL and x[0] will always be the item name which you can print without the spaces by using print(x[0].replace("_", " ") which replaces all the "_" with spaces)

Format: {Item_name} {item ID}

Just a quick note, I use python 3 so my reasoning may be different than yours.

hammer 1
baseball_bat 2
crow_bar 3
knuckle_dusters 4
pen_knife 5
kitchen_knife 6
dagger 7
axe 8
scimitar 9
chainsaw 10
samurai_sword 11
glock_17 12
raven_mp25 13
ruger_22/45 14
beretta_m9 15
usp 16
beretta_92fs 17
fiveseven 18
magnum 19
desert_eagle 20
dual_92g_berettas 21
sawed-off_shotgun 22
benelli_m1_tactical 23
mp5_navy 24
p90 25
ak-47 26
m4a1_colt_carbine 27
benelli_m4_super 28
m16_a2_rifle 29
steyr_aug 30
m249_para_lmg 31
leather_vest 32
police_vest 33
bulletproof_vest 34
box_of_chocolate_bars 35
big_box_of_chocolate_bars 36
bag_of_bon_bons 37
box_of_bon_bons 38
box_of_extra_strong_mints 39
pack_of_music_cds 40
dvd_player 41
mp3_player 42
cd_player 43
pack_of_blank_cds 44
hard_drive 45
tank_top 46
pair_of_trainers 47
jacket 48
full_body_armor 49
outer_tactical_vest 50
plain_silver_ring 51
sapphire_ring 52
gold_ring 53
diamond_ring 54
pearl_necklace 55
silver_necklace 56
gold_necklace 57
plastic_watch 58
stainless_steel_watch 59
gold_watch 60
personal_computer 61
microwave 62
minigun 63
pack_of_cuban_cigars 64
big_tv_screen 65
morphine 66
first_aid_kit 67
small_first_aid_kit 68
simple_virus 69
polymorphic_virus 70
tunnelling_virus 71
armored_virus 72
stealth_virus 73
santa_hat_'04 74
christmas_cracker_'04 75
snow_cannon 76
toyota_mr2 77
honda_nsx 78
audi_tt_quattro 79
bmw_m5 80
bmw_z8 81
chevrolet_corvette_z06 82
dodge_charger 83
pontiac_firebird 84
ford_gt40 85
hummer_h3 86
audi_s4 87
honda_integra_r 88
honda_accord 89
honda_civic 90
volkswagen_beetle 91
chevrolet_cavalier 92
ford_mustang 93
reliant_robin 94
holden_ss 95
coat_hanger 96
bunch_of_flowers 97
neutrilux_2000 98
springfield_1911-a1 99
egg_propelled_launcher 100
bunny_suit 101
chocolate_egg_'05 102
firewalk_virus 103
playstation 104
xbox 105
parachute 106
trench_coat 107
9mm_uzi 108
rpg_launcher 109
leather_bull_whip 110
ninja_claws 111
test_trophy 112
pet_rock 113
non-anon_doll 114
poker_doll 115
yoda_figurine 116
trojan_horse 117
evil_doll 118
rubber_ducky_of_doom 119
teppic_bear 120
rockerhead_doll 121
mouser_doll 122
elite_action_man 123
toy_reactor 124
royal_doll 125
blue_dragon 126
china_tea_set 127
mufasa_toy 128
dozen_roses 129
skanky_doll 130
lego_hurin 131
mystical_sphere 132
10_ton_pacifier 133
horse 134
uriel's_speakers 135
strife_clown 136
locked_teddy 137
riddle's_bat 138
soup_nazi_doll 139
pouncer_doll 140
spammer_doll 141
cookie_jar 142
vanity_mirror 143
banana_phone 144
xbox_360 145
yasukuni_sword 146
rusty_sword 147
dance_toy 148
lucky_dime 149
crystal_carousel 150
pixie_sticks 151
ice_sculpture 152
case_of_whiskey 153
laptop 154
purple_frog_doll 155
skeleton_key 156
patriot_whip 157
statue_of_aeolus 158
bolt_cutters 159
photographs 160
black_unicorn 161
warpaint_kit 162
official_ninja_kit 163
leukaemia_teddybear 164
chocobo_flute 165
annoying_man 166
article_on_crime 167
unknown 168
barbie_doll 169
wand_of_destruction 170
jack-o-lantern_'05 171
gas_can 172
butterfly_knife 173
xm8_rifle 174
taser 175
chain_mail 176
cobra_derringer 177
flak_jacket 178
birthday_cake_'05 179
bottle_of_beer 180
bottle_of_champagne 181
soap_on_a_rope 182
single_red_rose 183
bunch_of_black_roses 184
bunch_of_balloons_'05 185
sheep_plushie 186
teddy_bear_plushie 187
cracked_crystal_ball 188
s&w_revolver 189
c4_explosive 190
memory_locket 191
rainbow_stud_earring 192
hamster_toy 193
snowflake_'05 194
christmas_tree_'05 195
cannabis 196
ecstasy 197
ketamine 198
lsd 199
opium 200
pcp 201
mr_torn_crown_'07 202
shrooms 203
speed 204
vicodin 205
xanax 206
ms_torn_crown_'07 207
unknown 208
box_of_sweet_hearts 209
bag_of_chocolate_kisses 210
crazy_cow 211
legend's_urn 212
dreamcatcher 213
brutus_keychain 214
kitten_plushie 215
single_white_rose 216
claymore_sword 217
crossbow 218
enfield_sa-80 219
grenade 220
stick_grenade 221
flash_grenade 222
jackhammer 223
swiss_army_knife 224
mag_7 225
smoke_grenade 226
spear 227
vektor_cr-21 228
claymore_mine 229
flare_gun 230
heckler_&_koch_sl8 231
sig_550 232
bt_mp9 233
chain_whip 234
wooden_nunchakus 235
kama 236
kodachi_swords 237
sai 238
ninja_stars 239
anti_tank 240
bushmaster_carbon_15_type_21s 241
heg 242
taurus 243
blowgun 244
bo_staff 245
fireworks 246
katana 247
qsz-92 248
sks_carbine 249
twin_tiger_hooks 250
wushu_double_axes 251
ithaca_37 252
lorcin_380 253
s&w_m29 254
flamethrower 255
tear_gas 256
throwing_knife 257
jaguar_plushie 258
mayan_statue 259
dahlia 260
wolverine_plushie 261
hockey_stick 262
crocus 263
orchid 264
pele_charm 265
nessie_plushie 266
heather 267
red_fox_plushie 268
monkey_plushie 269
soccer_ball 270
ceibo_flower 271
edelweiss 272
chamois_plushie 273
panda_plushie 274
jade_buddha 275
peony 276
cherry_blossom 277
kabuki_mask 278
maneki_neko 279
elephant_statue 280
lion_plushie 281
african_violet 282
donator_pack 283
bronze_paint_brush 284
silver_paint_brush 285
gold_paint_brush 286
pand0ra's_box 287
mr_brownstone_doll 288
dual_axes 289
dual_hammers 290
dual_scimitars 291
dual_samurai_swords 292
japanese/english_dictionary 293
bottle_of_sake 294
oriental_log 295
oriental_log_translation 296
youyou_yo_yo 297
monkey_cuffs 298
jester's_cap 299
gibal's_dragonfly 300
green_ornament 301
purple_ornament 302
blue_ornament 303
purple_bell 304
mistletoe 305
mini_sleigh 306
snowman 307
christmas_gnome 308
gingerbread_house 309
lollipop 310
mardi_gras_beads 311
devil_toy 312
cookie_launcher 313
cursed_moon_pendant 314
apartment_blueprint 315
semi-detached_house_blueprint 316
detached_house_blueprint 317
beach_house_blueprint 318
chalet_blueprint 319
villa_blueprint 320
penthouse_blueprint 321
mansion_blueprint 322
ranch_blueprint 323
palace_blueprint 324
castle_blueprint 325
printing_paper 326
blank_tokens 327
blank_credit_cards 328
skateboard 329
boxing_gloves 330
dumbbells 331
combat_vest 332
liquid_body_armor 333
flexible_body_armor 334
stick_of_dynamite 335
cesium-137 336
dirty_bomb 337
sh0rty's_surfboard 338
puzzle_piece 339
hunny_pot 340
seductive_stethoscope 341
dollar_bill_collectible 342
backstage_pass 343
chemi's_magic_potion 344
pack_of_trojans 345
pair_of_high_heels 346
thong 347
hazmat_suit 348
flea_collar 349
dunkin's_donut 350
amazon_doll 351
bbq_smoker 352
bag_of_cheetos 353
motorbike 354
citrus_squeezer 355
superman_shades 356
kevlar_helmet 357
raw_ivory 358
fine_chisel 359
ivory_walking_cane 360
neumune_tablet 361
mr_torn_crown_'08 362
ms_torn_crown_'08 363
box_of_grenades 364
box_of_medical_supplies 365
erotic_dvd 366
feathery_hotel_coupon 367
lawyer_business_card 368
lottery_voucher 369
drug_pack 370
dark_doll 371
empty_box 372
parcel 373
birthday_present 374
present 375
christmas_present 376
birthday_wrapping_paper 377
generic_wrapping_paper 378
christmas_wrapping_paper 379
small_explosive_device 380
gold_laptop 381
gold_plated_ak-47 382
platinum_pda 383
camel_plushie 384
tribulus_omanense 385
sports_sneakers 386
handbag 387
pink_mac-10 388
mr_torn_crown_'09 389
ms_torn_crown_'09 390
macana 391
pepper_spray 392
slingshot 393
brick 394
metal_nunchakus 395
business_class_ticket 396
mace 397
swiss_army_sg_550 398
armalite_m-15a4_rifle 399
guandao 400
lead_pipe 401
ice_pick 402
box_of_tissues 403
bandana 404
loaf_of_bread 405
afro_comb 406
compass 407
sextant 408
yucca_plant 409
fire_hydrant 410
model_space_ship 411
sports_shades 412
mountie_hat 413
proda_sunglasses 414
ship_in_a_bottle 415
paper_weight 416
rs232_cable 417
tailors_dummy 418
small_suitcase 419
medium_suitcase 420
large_suitcase 421
vanity_hand_mirror 422
poker_chip 423
rabbit_foot 424
voodoo_doll 425
bottle_of_tequila 426
sumo_doll 427
casino_pass 428
chopsticks 429
coconut_bra 430
dart_board 431
crazy_straw 432
sensu 433
yakitori_lantern 434
dozen_white_roses 435
snowboard 436
glow_stick 437
cricket_bat 438
frying_pan 439
pillow 440
khinkeh_p0rnstar_doll 441
blow-up_doll 442
strawberry_milkshake 443
breadfan_doll 444
chaos_man 445
karate_man 446
burmese_flag 447
bl0ndie's_dictionary 448
hydroponic_grow_tent 449
leopard_coin 450
florin_coin 451
gold_noble_coin 452
ganesha_sculpture 453
vairocana_buddha_sculpture 454
script_from_the_quran:_ibn_masud 455
script_from_the_quran:_ubay_ibn_kab 456
script_from_the_quran:_ali 457
shabti_sculpture 458
egyptian_amulet 459
white_senet_pawn 460
black_senet_pawn 461
senet_board 462
epinephrine 463
melatonin 464
serotonin 465
snow_globe_'09 466
dancing_santa_claus_'09 467
christmas_stocking_'09 468
santa's_elf_'09 469
christmas_card_'09 470
admin_portrait_'09 471
blue_easter_egg 472
green_easter_egg 473
red_easter_egg 474
yellow_easter_egg 475
white_easter_egg 476
black_easter_egg 477
gold_easter_egg 478
metal_dog_tag 479
bronze_dog_tag 480
silver_dog_tag 481
gold_dog_tag 482
mp5k 483
ak74u 484
skorpion 485
tmp 486
thompson 487
mp_40 488
luger 489
blunderbuss 490
zombie_brain 491
human_head 492
medal_of_honor 493
citroen_saxo 494
classic_mini 495
fiat_punto 496
nissan_micra 497
peugeot_106 498
renault_clio 499
vauxhall_corsa 500
volvo_850 501
alfa_romeo_156 502
bmw_x5 503
seat_leon_cupra 504
vauxhall_astra_gsi 505
volkswagen_golf_gti 506
audi_s3 507
ford_focus_rs 508
honda_s2000 509
mini_cooper_s 510
sierra_cosworth 511
lotus_exige 512
mitsubishi_evo_x 513
porsche_911_gt3 514
subaru_impreza_sti 515
tvr_sagaris 516
aston_martin_one-77 517
audi_r8 518
bugatti_veyron 519
ferrari_458 520
lamborghini_gallardo 521
lexus_lfa 522
mercedes_slr 523
nissan_gt-r 524
mr_torn_crown_'10 525
ms_torn_crown_'10 526
bag_of_candy_kisses 527
bag_of_tootsie_rolls 528
bag_of_chocolate_truffles 529
can_of_munster 530
bottle_of_pumpkin_brew 531
can_of_red_cow 532
can_of_tourine_elite 533
witch's_cauldron 534
electronic_pumpkin 535
jack_o_lantern_lamp 536
spooky_paper_weight 537
medieval_helmet 538
blood_spattered_sickle 539
cauldron 540
bottle_of_stinky_swamp_punch 541
bottle_of_wicked_witch 542
deputy_star 543
wind_proof_lighter 544
dual_tmps 545
dual_bushmasters 546
dual_mp5s 547
dual_p90s 548
dual_uzis 549
bottle_of_kandy_kane 550
bottle_of_minty_mayhem 551
bottle_of_mistletoe_madness 552
can_of_santa_shooters 553
can_of_rockstar_rudolph 554
can_of_x-mass 555
bag_of_reindeer_droppings 556
advent_calendar 557
santa's_snot 558
polar_bear_toy 559
fruitcake 560
book_of_carols 561
sweater 562
gift_card 563
pair_of_glasses 564
high-speed_dvd_drive 565
mountain_bike 566
cut-throat_razor 567
slim_crowbar 568
balaclava 569
advanced_driving_tactics_manual 570
ergonomic_keyboard 571
tracking_device 572
screwdriver 573
fanny_pack 574
tumble_dryer 575
chloroform 576
heavy_duty_padlock 577
duct_tape 578
wireless_dongle 579
horse's_head 580
book 581
tin_foil_hat 582
brown_easter_egg 583
orange_easter_egg 584
pink_easter_egg 585
jawbreaker 586
bag_of_sherbet 587
goodie_bag 588
undefined 589
undefined_2 590
undefined_3 591
undefined_4 592
mr_torn_crown_'11 593
ms_torn_crown_'11 594
pile_of_vomit 595
rusty_dog_tag 596
gold_nugget 597
witch's_hat 598
golden_broomstick 599
devil's_pitchfork 600
christmas_lights 601
gingerbread_man 602
golden_wreath 603
pair_of_ice_skates 604
diamond_icicle 605
santa_boots 606
santa_gloves 607
santa_hat 608
santa_jacket 609
santa_trousers 610
snowball 611
tavor_tar-21 612
harpoon 613
diamond_bladed_knife 614
naval_cutlass_sword 615
trout 616
banana_orchid 617
stingray_plushie 618
steel_drum 619
nodding_turtle 620
snorkel 621
flippers 622
speedo 623
bikini 624
wetsuit 625
diving_gloves 626
dog_poop 627
stink_bombs 628
toilet_paper 629
mr_torn_crown_'12 630
ms_torn_crown_'12 631
petrified_humerus 632
latex_gloves 633
bag_of_bloody_eyeballs 634
straitjacket 635
cinnamon_ornament 636
christmas_express 637
bottle_of_christmas_cocktail 638
golden_candy_cane 639
kevlar_gloves 640
wwii_helmet 641
motorcycle_helmet 642
construction_helmet 643
welding_helmet 644
safety_boots 645
hiking_boots 646
leather_helmet 647
leather_pants 648
leather_boots 649
leather_gloves 650
combat_helmet 651
combat_pants 652
combat_boots 653
combat_gloves 654
riot_helmet 655
riot_body 656
riot_pants 657
riot_boots 658
riot_gloves 659
dune_helmet 660
dune_body 661
dune_pants 662
dune_boots 663
dune_gloves 664
assault_helmet 665
assault_body 666
assault_pants 667
assault_boots 668
assault_gloves 669
delta_gas_mask 670
delta_body 671
delta_pants 672
delta_boots 673
delta_gloves 674
marauder_face_mask 675
marauder_body 676
marauder_pants 677
marauder_boots 678
marauder_gloves 679
eod_helmet 680
eod_apron 681
eod_pants 682
eod_boots 683
eod_gloves 684
torn_bible 685
friendly_bot_guide 686
egotistical_bear 687
brewery_key 688
signed_jersey 689
mafia_kit 690
octopus_toy 691
bear_skin_rug 692
tractor_toy 693
mr_torn_crown_'13 694
ms_torn_crown_'13 695
piece_of_cake 696
rotten_eggs 697
peg_leg 698
antidote 699
christmas_angel 700
eggnog 701
sprig_of_holly 702
festive_socks 703
respo_hoodie 704
staff_haxx_button 705
birthday_cake_'14 706
lump_of_coal 707
gold_ribbon 708
silver_ribbon 709
bronze_ribbon 710
coin_:_factions 711
coin_:_casino 712
coin_:_education 713
coin_:_hospital 714
coin_:_jail 715
coin_:_travel_agency 716
coin_:_companies 717
coin_:_stock_exchange 718
coin_:_church 719
coin_:_auction_house 720
coin_:_race_track 721
coin_:_museum 722
coin_:_drugs 723
coin_:_dump 724
coin_:_estate_agents 725
scrooge's_top_hat 726
scrooge's_topcoat 727
scrooge's_trousers 728
scrooge's_boots 729
scrooge's_gloves 730
empty_blood_bag 731
blood_bag_:_a+ 732
blood_bag_:_a- 733
blood_bag_:_b+ 734
blood_bag_:_b- 735
blood_bag_:_ab+ 736
blood_bag_:_ab- 737
blood_bag_:_o+ 738
blood_bag_:_o- 739
mr_torn_crown 740
ms_torn_crown 741
molotov_cocktail 742
christmas_sweater_'15 743
book_:_brawn_over_brains 744
book_:_time_is_in_the_mind 745
book_:_keeping_your_face_handsome 746
book_:_a_job_for_your_hands 747
book_:_working_9_til_5 748
book_:_making_friends,_enemies,_and_cakes 749
book_:_high_school_for_adults 750
book_:_milk_yourself_sober 751
book_:_fight_like_an_******* 752
book_:_mind_over_matter 753
book_:_no_shame_no_pain 754
book_:_run_like_the_wind 755
book_:_weaseling_out_of_trouble 756
book_:_get_hard_or_go_home 757
book_:_gym_grunting_-_shouting_to_success 758
book_:_self_defense_in_the_workplace 759
book_:_speed_3_-_the_rejected_script 760
book_:_limbo_lovers_101 761
book_:_the_hamburglar's_guide_to_crime 762
book_:_what_are_old_folk_good_for_anyway? 763
book_:_medical_degree_schmedical_degree 764
book_:_no_more_soap_on_a_rope 765
book_:_mailing_yourself_abroad 766
book_:_smuggling_for_beginners 767
book_:_stealthy_stealing_of_underwear 768
book_:_shawshank_sure_ain't_for_me! 769
book_:_ignorance_is_bliss 770
book_:_winking_to_win 771
book_:_finders_keepers 772
book_:_hot_turkey 773
book_:_higher_daddy,_higher! 774
book_:_the_real_dutch_courage 775
book_:_because_i'm_happy_-_the_pharrell_story 776
book_:_no_more_sick_days 777
book_:_duke_-_my_story 778
book_:_self_control_is_for_losers 779
book_:_going_back_for_more 780
book_:_get_drunk_and_lose_dignity 781
book_:_fuelling_your_way_to_failure 782
book_:_yes_please_diabetes 783
book_:_ugly_energy 784
book_:_memories_and_mammaries 785
book_:_brown-nosing_the_boss 786
book_:_running_away_from_trouble 787
certificate_of_awesome 788
certificate_of_lame 789
plastic_sword 790
mediocre_t-shirt 791
penelope 792
cake_frosting 793
lock_picking_kit 794
special_fruitcake 795
felovax 796
zylkene 797
duke's_safe 798
duke's_selfies 799
duke's_poetry 800
duke's_dog's_ashes 801
duke's_will 802
duke's_gimp_mask 803
duke's_herpes_medication 804
duke's_hammer 805
old_lady_mask 806
exotic_gentleman_mask 807
ginger_kid_mask 808
young_lady_mask 809
moustache_man_mask 810
scarred_man_mask 811
psycho_clown_mask 812
nun_mask 813
tyrosine 814
keg_of_beer 815
glass_of_beer 816
six_pack_of_alcohol 817
six_pack_of_energy_drink 818
rosary_beads 819
piggy_bank 820
empty_vial 821
vial_of_blood 822
vial_of_urine 823
vial_of_saliva 824
questionnaire_ 825
agreement 826
perceptron_:_calibrator 827
donald_trump_mask_'16 828
yellow_snowman_'16 829
nock_gun 830
beretta_pico 831
riding_crop 832
sand 833
sweatpants 834
string_vest 835
black_oxfords 836
rheinmetall_mg_3 837
homemade_pocket_shotgun 838
madball 839
nail_bomb 840
classic_fedora 841
pinstripe_suit_trousers 842
duster 843
tranquilizer_gun_ 844
bolt_gun 845
scalpel 846
nerve_gas 847
kevlar_lab_coat 848
loupes 849
sledgehammer 850
wifebeater 851
metal_detector 852
graveyard_key 853
questionnaire_:_completed 854
agreement_:_signed 855
spray_can_:_black 856
spray_can_:_red 857
spray_can_:_pink 858
spray_can_:_purple 859
spray_can_:_blue 860
spray_can_:_green 861
spray_can_:_yellow 862
spray_can_:_orange 863
salt_shaker 864
poison_mistletoe 865
santa's_list_'17 866
soapbox 867
turkey_baster 868
elon_musk_mask_'17 869
love_juice 870
bug_swatter 871
nothing 872
bottle_of_green_stout 873
prototype 874
rotten_apple 875
festering_chicken 876
mouldy_pizza 877
smelly_cheese 878
sour_milk 879
stale_bread 880
spoiled_fish 881
insurance_policy_ 882
bank_statement 883
car_battery 884
scrap_metal 885
torn_city_times 886
karma!_magazine 887
umbrella 888
travel_mug 889
headphones 890
travel_socks 891
mix_cd 892
lost_and_found_office_key 893
cosmetics_case 894
phone_card 895
subway_season_ticket 896
bottle_cap 897
silver_coin 898
silver_bead 899
lucky_quarter 900
daffodil 901
bunch_of_carnations 902
white_lily 903
funeral_wreath 904
car_keys 905
handkerchief 906
candle 907
paper_bag 908
tin_can 909
betting_slip 910
fidget_spinner 911
majestic_moose 912
lego_wonder_woman 913
cr7_doll 914
stretch_armstrong_doll 915
beef_femur 916
snake's_fang 917
icey_igloo 918
federal_jail_key 919

 

 

 

Item list, item dictionary, list, every torn item, id's
0x00 [2046172]

I thought someone would ask that, you cannot search with a string of letters, you need to know the id to search it with api, what this list is for is so you could make a separate file and paste the list above inside of it, (my program allows the user to search for an item by name) the list works as a dictionary and you can make the program format the user input to match the dictionary (which is only replacing spaces with "_" ) and then search the file for the line with that as the first word (because if the spaces are "_", then something like "this_is_a_word" is considered one word) then store the second word which would be the item id inside a variable then you can use that variable to search the API and get all the details much faster then parsing every item in torn with the API until you get what you searched for.
Pi77Bull [2082618]

I see, but that means you would need to update that list regularly to have all the items in it, you know :D

Javascript has some neat tricks up its sleeve:

First, get the "items" object from the api (I shortened it here, obviously):

let items = {
    "1": {
        "name": "Hammer",
        "description": "A small, lightweight tool used in the building industry. Can also be used as a weapon.",
        "type": "Melee",
        "buy_price": 75,
        "sell_price": 50,
        "market_value": 101,
        "circulation": 1308243,
        "image": "http://www.torn.com/images/items/1/large.png"
    },
    "2": {
        "name": "Baseball Bat",
        "description": "A long, solid wooden bat. As a weapon, it can land quite a blow on your enemy.",
        "type": "Melee",
        "buy_price": 200,
        "sell_price": 130,
        "market_value": 195,
        "circulation": 549922,
        "image": "http://www.torn.com/images/items/2/large.png"
    }
};

Secondly, make a little function:

function getItemByName(name) {
    // case-sensitive and spaces required:
    return items[Object.keys(items).find(key => items[key].name == name)];

    // case-insensitive and no spaces required:
    // return items[Object.keys(items).find(key => items[key].name.toLowerCase().replace(/ /g,'') == name)];
}

Now you can search for an item by name like this:

getItemByName("Hammer");

which will return the whole object for the item with the name "Hammer".

Hope I could help :)

(I got out of bed to write this SO IT BETTER HELPED :P)
0x00 [2046172]

Well, although I am sure java is mucho better at this kind of thing, I am using python, I do not know java XD
Pi77Bull [2082618]

Yeah, I just realized that you said you're using python, lol. Though I'm sure python can do the same thing. I'm gonna look into this tomorrow and let you know if I find anything.

Also, Java != Javascript :D
Pi77Bull [2082618]

Okay, I think I got it working in Python now.

(items is the same object as above in the Javascript version)

The function is:

def getItemByName(name):
    return items[list(filter((lambda x: items[x]["name"] == name), list(items.keys())))[0]]

and you use it like this:

getItemByName("Hammer")

which will return the object for the Hammer.

This was my first time working in Python so I'm sure someone who knows the language better than me could improve it here and there ^^