I know how to generally pull down information for a UniProt entry using the REST API, for example:
I'm looking at this entry as an example. I'm able to pull down most of the attributes I want with a variation of the API query above, however, I'm stuck on one part.
For all human proteins, I want to pull down the peptide sequences that come from that protein.
In the example above, it would be the sequences of the peptides associated with this section:
Can this be done with the API or do I have to come with a scraping method for all human proteins where I (1) get the protein sequence of each entry, (2) get this table, (3) calculate where the peptides start and end from the sequence in step 1? I feel like this alternative will be much slower, so I want to check I'm not missing anything obvious.