package
0.0.6
Repository: https://github.com/atlasmoth/go_neynar_sdk.git
Documentation: pkg.go.dev

# README

Documentation for API Endpoints

All URIs are relative to https://hub-api.neynar.com

ClassMethodHTTP requestDescription
CastsApiGetCastByIdGet /v1/castByIdGet a cast by its FID and Hash.
CastsApiListCastsByFidGet /v1/castsByFidFetch all casts authored by an FID.
CastsApiListCastsByMentionGet /v1/castsByMentionFetch all casts that mention an FID
CastsApiListCastsByParentGet /v1/castsByParentFetch all casts by parent cast's FID and Hash OR by the parent's URL
FIDsApiListFidsGet /v1/fidsGet a list of all the FIDs
HubEventsApiGetEventByIdGet /v1/eventByIdGet an event by its ID
HubEventsApiListEventsGet /v1/eventsGet a page of Hub events
InfoApiGetInfoGet /v1/infoSync Methods
LinksApiGetLinkByIdGet /v1/linkByIdGet a link by its FID and target FID.
LinksApiListLinksByFidGet /v1/linksByFidGet all links from a source FID
LinksApiListLinksByTargetFidGet /v1/linksByTargetFidGet all links to a target FID
OnChainEventsApiGetOnChainIdRegistrationByAddressGet /v1/onChainIdRegistryEventByAddressGet an on chain ID Registry Event for a given Address
OnChainEventsApiListOnChainEventsByFidGet /v1/onChainEventsByFidGet a list of on-chain events provided by an FID
OnChainEventsApiListOnChainSignersByFidGet /v1/onChainSignersByFidGet a list of signers provided by an FID
ReactionsApiGetReactionByIdGet /v1/reactionByIdGet a reaction by its created FID and target Cast.
ReactionsApiListReactionsByCastGet /v1/reactionsByCastGet all reactions to a cast
ReactionsApiListReactionsByFidGet /v1/reactionsByFidGet all reactions by an FID
ReactionsApiListReactionsByTargetGet /v1/reactionsByTargetGet all reactions to a target URL
StorageApiGetStorageLimitsByFidGet /v1/storageLimitsByFidGet an FID's storage limits.
SubmitMessageApiSubmitMessagePost /v1/submitMessageSubmit a signed protobuf-serialized message to the Hub
UserDataApiGetUserDataByFidGet /v1/userDataByFidGet UserData for a FID.
UsernamesApiGetUsernameProofGet /v1/userNameProofByNameGet an proof for a username by the Farcaster username
UsernamesApiListUsernameProofsByFidGet /v1/userNameProofsByFidGet a list of proofs provided by an FID
ValidateMessageApiValidateMessagePost /v1/validateMessageValidate a signed protobuf-serialized message with the Hub
VerificationsApiListVerificationsByFidGet /v1/verificationsByFidGet a list of verifications provided by an FID

Documentation For Models

Documentation For Authorization

usernamePassword

  • Type: HTTP basic authentication

Example

auth := context.WithValue(context.Background(), sw.ContextBasicAuth, sw.BasicAuth{
	UserName: "username",
	Password: "password",
})
r, err := client.Service.Operation(auth, args)

Author