Deprecated: This module has been rebranded and moved to github.com/massive-com/client-go. Please update your imports and dependencies.
package
Version:
v1.16.18
Opens a new window with list of versions in this module.
Published: Oct 31, 2025
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 3
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
APIURL = "https://api.polygon.io"
DefaultRetryCount = 3
)
Client defines an HTTP client for the Polygon REST API.
New returns a new client with the specified API key and default settings.
NewWithClient returns a new client with the specified API key and a custom HTTP client.
Call makes an API call based on the request params and options. The response is automatically unmarshaled.
CallURL makes an API call based on a request URI and options. The response is automatically unmarshaled.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.