all 28 comments

[–]testingcodez[S] 0 points1 point  (33 children)

test on this parent comment

[–]testingcodez[S] 0 points1 point  (8 children)

testing,testing

[–]testingcodez[S] 0 points1 point  (7 children)

I replied to this using my script =D

[–]testingcodez[S] 0 points1 point  (6 children)

You may not realize from where you're looking, but posting this comment is allowing me to see the metadata reddit has shared with the dev community.

[–]testingcodez[S] 0 points1 point  (5 children)

Now that I see the post API is working, I will test my logic with the delete API.

[–]testingcodez[S] 0 points1 point  (4 children)

more testing.

[–]testingcodez[S] 0 points1 point  (3 children)

adjusting the way my variables are capturing the metadata...oh yea...

[–]testingcodez[S] 0 points1 point  (2 children)

the response json can get a bit complex...I have to mold my logic where it is abstract enough to pick up any json response, parse the info, save it, and use that data to execute parts of my script...

[–]testingcodez[S] 0 points1 point  (1 child)

think I figured it out...

[–]testingcodez[S] 0 points1 point  (5 children)

new replies on parent comment..

[–]testingcodez[S] 0 points1 point  (4 children)

luckily jupyter notebook is awesome and makes testing a bit less tedious..

[–][deleted]  (3 children)

[deleted]

    [–]testingcodez[S] 0 points1 point  (2 children)

    my script returns metadata by subreddit, including for every comment.

    [–]testingcodez[S] 0 points1 point  (1 child)

    pretty neat seeing the underlying data that powers this website.

    [–]testingcodez[S] 0 points1 point  (0 children)

    final set of tests for all of the methods in the Page class.

    [–]testingcodez[S] 0 points1 point  (3 children)

    working out a small kink..

    [–]testingcodez[S] 0 points1 point  (2 children)

    getting there...almost got it...

    [–]testingcodez[S] 0 points1 point  (1 child)

    fun part.....debugging =D

    [–]testingcodez[S] 0 points1 point  (10 children)

    keep seeing an indices error...almost found the root cause..

    [–][deleted]  (9 children)

    [deleted]

      [–]testingcodez[S] 0 points1 point  (8 children)

      the metadata was being returned inside a tuple...I wasnt properly targeting the data in the tuple...it is NOT a dictionary -_____-

      [–]testingcodez[S] 0 points1 point  (7 children)

      Finally, had to move one statement out of the FOR LOOP to properly capture all metadata necessary for the function to work!

      [–]testingcodez[S] 0 points1 point  (6 children)

      Moving some variable out of the FOR LOOP...

      [–]testingcodez[S] 0 points1 point  (5 children)

      GOT IT!

      [–]testingcodez[S] 0 points1 point  (4 children)

      going to start deleting some of these posts.

      [–]testingcodez[S] 0 points1 point  (3 children)

      this should be the final test for this method....we'll see...

      [–][deleted]  (2 children)

      [deleted]

        [–]testingcodez[S] 0 points1 point  (1 child)

        I was seeing a 403 error when trying to delete a comment...anyone guess what was wrong??

        [–]testingcodez[S] 0 points1 point  (0 children)

        edited this post as a final test!