I need to code up a basic API/JSON consumption script and I literally just can’t bring myself to do it because I’m afraid to fail at doing it right. What is WRONG with me?! Am I the only person who goes through this kind of self-sabotage?

  • 0
    curl -X GET http://some.domain.com/api/v2/users

  • 1
    @netikras Thanks. This is (for me) a little more complicated than that, though. Needs to be a PHP script that authenticates and pulls the JSON, then parses it for a specific value, and refreshes a utoken value every 14 days through a cron and then uses a shortcode to embed the result in a WordPress post. For a lot of people this is a couple hours of work. For me and my stupid brain it's like a week to get the correct syntax and approach.
  • 4
    Never confuse a single defeat with a final defeat.
  • 1
    I’m happy to report back that I did it! I have working code and I got about 75% of the way in refactoring to make it rock solid and push it live.
Add Comment