3 ms·
If fsspec is an interface, then he is using an API and the whole blog post is just a pile of clickbaity BS.
by rglullis 3y ago
If fsspec is an interface, then he is using an API and the whole blog post is just a pile of clickbaity BS.
- philomath_mn 3y agoYes, he is using an API. Even using curl over HTTP is an API, strictly speaking. But, for simple use cases, what he is doing beats building yet another client library or defining REST or RPC endpoints.
- rglullis 3y agoHe is defining an HTTP response based on the Accept header, no? The resource is represented by the URL, no? What else is needed for this to be called a "REST API"?