Catman...id_find(3pm)

πŸ’– NAME πŸ’–

okay so bestie, welcome to the manual page for Catmandu::Fix::orcid_find (the page itself lives under the name Catman...id_find(3pm), which is giving ✨truncated filename energy✨ but we move) β€” and what it does is find an ORCID id for a query. that's it. that's the whole vibe. πŸ¦‹


✨ SYNOPSIS ✨

no cap, here's the whole thing in action β€” finding an ORCID bio for a query, where the query is literally just q: "Johson":

# Find ORCID bio for a query
# query:
#     q: "Johson"
orcid_find(query)

if exists(orcid.orcid-search-results.num-found)
    copy_field(orcid.orcid-search-results.orcid-search-result.0.orcid-profile.orcid-identifier.path,id)
end

so you run orcid_find(query), and then if orcid.orcid-search-results.num-found actually exists (iykyk, sometimes it just doesn't πŸ™ˆ), you copy_field that whole long path orcid.orcid-search-results.orcid-search-result.0.orcid-profile.orcid-identifier.path straight into id. main character behavior honestly. πŸ’…


🌈 SEE ALSO 🌸

  • Catmandu::Fix β€” the whole fix framework this lil guy lives in, go say hi 🫢
  • WWW::ORCID β€” the module doing the actual ORCID talking, iconic ⭐

and that's the page!! written up in the User Contributed Perl Documentation, running on perl v5.36.0, dated 2023-02-09, filed under Catman...id_find(3pm) πŸ’œ mwah, go find some ORCIDs bestie, periodt βœ¨πŸŽ€

πŸ“¦ where this page comes from