Re: Extracting programs names from URLs

Nurture_Ninja
Level 4

Extracting programs names from URLs

Hello community members,

I’m currently working on a project where I need to extract program names from a list of program URLs. Has anyone tackled this challenge before and succeeded? I’d appreciate any advice or methods that have worked for you.

Thanks in advance for your help!

 

1 REPLY 1
SanfordWhiteman
Level 10 - Community Moderator

Re: Extracting programs names from URLs

The last part of the hash of the URL contains the Program ID. It’s the first contiguous string of numbers, i.e. in #/classic/PG3347A1 the Program ID is 3347.

 

Then you can feed that into the Get Program by ID API endpoint.