Results 1 to 2 of 2
  1. #1
    matthewr is offline Member
    Join Date
    Aug 2014
    Posts
    1
    Rep Power
    0

    Default need help with json program - n00b

    Okay so I took an intro Java class in college like a year and half ago. I don't remember much, but I feel I am okay understanding logic and language.




    I am a streamer on Twitch.tv, and I want to use Java to do some cool stuff.

    There are various json files I can grab on the internet, and I want to grab them, and then pull certain info out, that I can show on my stream through OBS (Open Broadcaster Software).

    I know the last two parts of the equation. I need certain info outputted to separate local txt files and then I will use OBS to show them on my stream.

    But its the 'pulling the json files and obtaining info from them and then outputting it' parts that I have no idea how to do.

    JSON files in question:

    https://api.twitch.tv/kraken/channel...mazing/follows

    So like I would want to know my latest follower, so like it'd be like XXX.Follows[0].user."display_name" would be the info I need.

    https://api.twitch.tv/kraken/channels/matzimazing

    So I would like to know how many followers I have, so it'd be like XXX."followers"

    And I'd need it to check like every 10-30 seconds and replace the data in the txt files.

    It'd have to be a program I can run from my desktop.

    Is this possible with Java?



    If anyone is willing to help me, or steer me in the right direction, I'd be very grateful.

  2. #2
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,029
    Rep Power
    6

    Default Re: need help with json program - n00b

    Anything is possible with Java or any other programming environment. The limit is never in the tooling, always in the programmer.

    So can YOU do it, having done only some basic Java in school 1.5 years ago?
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

Similar Threads

  1. A little help for n00b? (Incompatible types)
    By Praetorian in forum New To Java
    Replies: 5
    Last Post: 06-16-2012, 05:52 AM
  2. JSON Lib: json-lib-1.0-jdk13.jar
    By Raghuraman K in forum Advanced Java
    Replies: 3
    Last Post: 05-13-2010, 10:00 AM
  3. n00b help with java2D api
    By michcio in forum Java 2D
    Replies: 7
    Last Post: 10-30-2008, 06:18 PM
  4. yet another N00b
    By java_student_4now in forum New To Java
    Replies: 6
    Last Post: 09-16-2008, 03:56 PM
  5. n00b at JSP - Need help
    By sylo18 in forum JavaServer Pages (JSP) and JSTL
    Replies: 3
    Last Post: 04-04-2008, 07:33 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •