Skip to main content
Stack Overflow
  1. About
  2. For Teams

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Draft saved
Draft discarded
Cancel
4
  • Can you share some sample data? Commented Jul 13, 2025 at 17:39
  • Sure! working with the following kind of API documentation: [uploads-ssl.webflow.com/5f08c2bdc085172b99006a91/… Commented Jul 14, 2025 at 17:19
  • For the example API you mentioned, there's no need to scrape the human-readable documentation. The full machine-readable OpenAPI JSON description is embedded directly in a <script> tag within the <head> of the page at demo.360alumni.com/api/doc Commented Jul 20, 2025 at 18:48
  • Thanks, @JukkaMatilainen, some APIs have proper OpenAPI specs in <script> tags, that works really well. But in my case, I am working with a lot of documentation that does not have these type of tags. Things like authToken or headers are often just mentioned in the text. Like "pass the token you got from the login call in the header as a Bearer token." These kinds of details are not usually part of the OpenAPI JSON, so I need to parse it to extract them. That’s why I’m focusing on extracting this info from the actual written content, not just the structured parts. Commented Jul 31, 2025 at 18:42

AltStyle によって変換されたページ (->オリジナル) /