Saturday, May 17, 2025
  • baseball
  • basketball
  • esports
  • football
  • golf
  • MMA
  • nfl
  • tennis
  • WWE
Pcsind Sports
  • baseball
  • basketball
  • esports
  • football
  • golf
  • MMA
  • nfl
  • tennis
  • WWE
  • Login
No Result
View All Result
Pcsind Sports
Home nfl

Gronk Height and Weight: How Does He Stack Up?

admin@cpwss2d by admin@cpwss2d
04/07/2025
in nfl
0
Gronk Height and Weight: How Does He Stack Up?
0
SHARES
0
VIEWS
Share on FacebookShare on Twitter

Alright, so today I’m gonna walk you through my experience messing around with gronk for pulling out specific bits of JSON related to height and weight. It was a bit of a journey, so buckle up.

Gronk Height and Weight: How Does He Stack Up?

First off, I needed to grab some JSON data. I had this API endpoint that spat out a whole load of info, but all I cared about was the height and weight. So, I started with a simple curl command to grab the JSON and pipe it into gronk. Looked something like this:

Related posts

What does Stefon Diggs blinged out style look like? See his most expensive and flashiest jewelry pieces right here.

What does Stefon Diggs blinged out style look like? See his most expensive and flashiest jewelry pieces right here.

04/16/2025
Where does the Bryce Young family live now? Get updates on the quarterbacks parents and home life.

Where does the Bryce Young family live now? Get updates on the quarterbacks parents and home life.

04/16/2025

curl "your_api_endpoint_here" gronk

This just throws the whole JSON structure at you, but in gronk‘s indexed format. Easier to read, but still overwhelming. The key thing is that gronk gives you these indexes you can then use.

Then came the fun part: figuring out the right gronk incantation to get JUST the height. I knew the height was nested inside some objects in the JSON. After staring at the output for a while (and a LOT of trial and error), I found the path. Let’s say it was nested like this: . The command I ended up using was:

curl "your_api_endpoint_here" gronk grep "*"

This filters the output to only show lines containing that string. It’s not perfect, but it got me closer. I was seeing lines like *.height = "6ft 2in"; or *.height = 188;

I did the same thing to grab the weight. I searched for the string, for example:

curl "your_api_endpoint_here" gronk grep "*"

Gronk Height and Weight: How Does He Stack Up?

Okay, got both height and weight, but they were still mixed with the json. prefix and the assignment. Time for some sed magic. I wanted to clean up the output to ONLY show the actual value. So, I piped the output of the grep command into sed to strip away the unnecessary text.

For example, to clean the height:

curl "your_api_endpoint_here" gronk grep "*" sed 's/.= //g' sed 's/;//g'

The first sed command s/.= //g removes everything up to and including the equals sign. The second sed command s/;//g removes the semicolon at the end.

Then I did the same thing for weight to get the raw values.

At this point, I had the height and weight printed out, one after the other. But what if I wanted to store them into variables? Well, that’s where things got a little more shell-scripty.

I used command substitution to assign the output of each command to a variable. Like this:

height=$(curl "your_api_endpoint_here" gronk grep "*" sed 's/.= //g' sed 's/;//g')

Gronk Height and Weight: How Does He Stack Up?

weight=$(curl "your_api_endpoint_here" gronk grep "*" sed 's/.= //g' sed 's/;//g')

Now, $height and $weight held the values I wanted! I could then use them in other parts of my script. For example, just to print them:

echo "Height: $height"
echo "Weight: $weight"

It wasn’t a walk in the park, there was a fair bit of tweaking and head-scratching, but it got the job done! Using gronk with grep and sed is a powerful combo for pulling out specific pieces of JSON data when you don’t want to use a more heavy-duty tool like jq.

Previous Post

Paulo Costa Curse explained: The latest MMA mystery decoded!

Next Post

DJ Moore Week 17 Outlook: Start or Sit Him This Week?

Next Post
DJ Moore Week 17 Outlook: Start or Sit Him This Week?

DJ Moore Week 17 Outlook: Start or Sit Him This Week?

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

RECOMMENDED NEWS

How to Pet Naafiri?:The Quick guide for LOL players

How to Pet Naafiri?:The Quick guide for LOL players

2 months ago
Portland Trail Blazers vs Lakers: Top Performers and Game Stats Breakdown

Portland Trail Blazers vs Lakers: Top Performers and Game Stats Breakdown

6 months ago
Kalinina vs Parry Head-to-Head Stats and Analysis

Kalinina vs Parry Head-to-Head Stats and Analysis

5 months ago
An Impressive Achievement Crossword Clues How To Solve Tricky Crosswords

An Impressive Achievement Crossword Clues How To Solve Tricky Crosswords

4 months ago

FOLLOW US

BROWSE BY CATEGORIES

  • baseball
  • basketball
  • esports
  • football
  • golf
  • MMA
  • nfl
  • tennis
  • WWE

POPULAR NEWS

  • Todays Yankees Announcers on YES: Your Guide to the Broadcast Team

    Todays Yankees Announcers on YES: Your Guide to the Broadcast Team

    0 shares
    Share 0 Tweet 0
  • UFL Female Referee Spotlight! Get to know the amazing Women of UFL officiating.

    0 shares
    Share 0 Tweet 0
  • Agata Fagata MMA: Who Is She? (Learn About Her Career)

    0 shares
    Share 0 Tweet 0
  • EA Sports College Football 25: Best Pistol Playbook for Dominating Offense

    0 shares
    Share 0 Tweet 0
  • Min Woo Lee Sunglasses: What Brand? (Find the Exact Pair!)

    0 shares
    Share 0 Tweet 0
Pcsind Sports

We bring you the best Premium WordPress Themes that perfect for news, magazine, personal blog, etc.

Follow us on social media:

Recent News

  • Mike Romes Career: A Look at His Journey in WWE
  • Thai-Son Kwiatkowski: The Rising Star You Need to Know
  • Ark Spawn Bronto tips: Taming and location guide.

Category

  • baseball
  • basketball
  • esports
  • football
  • golf
  • MMA
  • nfl
  • tennis
  • WWE

Recent News

Mike Romes Career: A Look at His Journey in WWE

Mike Romes Career: A Look at His Journey in WWE

04/17/2025
Thai-Son Kwiatkowski: The Rising Star You Need to Know

Thai-Son Kwiatkowski: The Rising Star You Need to Know

04/17/2025
  • baseball
  • basketball
  • esports
  • football
  • golf
  • MMA
  • nfl
  • tennis
  • WWE

© 2025 JNews - Premium WordPress news & magazine theme by Jegtheme.

No Result
View All Result
  • baseball
  • basketball
  • esports
  • football
  • golf
  • MMA
  • nfl
  • tennis
  • WWE

© 2025 JNews - Premium WordPress news & magazine theme by Jegtheme.

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In