API is not working as expected
When I tried to use the API to retrieve specific spectra for specific proteins, I got information about unrelated proteins.
For example for https://www.fpbase.org/api/proteins/spectra/?name__iexact=mEGFP&format=json
I get multiple proteins:
[{"name":"AvicFP3","slug":"avicfp3","spectra":[{"state":"pre-conversion_ex","ec":null,"max":480,"data":[[251.0,0.5862],[252.0,0.5803], ... {"name":"htFuncLib_slow.5","slug":"htfunclib_slow5","spectra":[{"state":"default_ex","ec":null,"max":492,"data":[[320.0,0.0971],[321.0,0.0979],[322.0,0.0995],[323.0,0.1013],[324.0,0.1037],[325.0,0.1069],[326.0,0.1105],[327.0,0.114],[328.0,0.1176] ...
I also tried: https://www.fpbase.org/api/proteins/spectra/?uuid__iexact=QKFJNA&format=json but got the same answer
so sorry i missed this issue (last year!) @XarlesMicro
I agree, something's obviously wrong here. But I would suggest you use the graphql API, which gets more attention: https://help.fpbase.org/api/introduction#graphql
if you use python there's a wrapper for that here: https://github.com/tlambert03/fpbasepy