Add singular account_list method, account_remove #60

Merged
anbsky merged 8 commits from feature/account_remove into master 2019-05-24 17:06:05 +02:00
anbsky commented 2019-05-21 19:12:53 +02:00 (Migrated from github.com)

Added a few methods required for lbrytv:

  • account_remove
  • account_list with account_id argument (the SDK response structure is different when this argument is supplied, hence a separate method)
Added a few methods required for lbrytv: - account_remove - account_list with account_id argument (the SDK response structure is different when this argument is supplied, hence a separate method)
nikooo777 (Migrated from github.com) approved these changes 2019-05-23 13:38:51 +02:00
nikooo777 (Migrated from github.com) left a comment

check comments first, otherwise LGTM

check comments first, otherwise LGTM
nikooo777 (Migrated from github.com) commented 2019-05-23 13:35:00 +02:00

this is rather useless because you're going from a struct to a map through a serializer when in fact you can just define the map on the go:

map[string]interface{}{
		"account_name": accountName,
    "single_key": singleKey,
	})
this is rather useless because you're going from a struct to a map through a serializer when in fact you can just define the map on the go: ``` map[string]interface{}{ "account_name": accountName, "single_key": singleKey, }) ```
nikooo777 (Migrated from github.com) commented 2019-05-23 13:37:46 +02:00

why were some fields removed? https://lbry.tech/api/sdk#account_create

why were some fields removed? https://lbry.tech/api/sdk#account_create
anbsky (Migrated from github.com) reviewed 2019-05-24 16:47:01 +02:00
anbsky (Migrated from github.com) commented 2019-05-24 16:47:00 +02:00

I didn't remove them actually, they're just below

I didn't remove them actually, they're just below
anbsky (Migrated from github.com) reviewed 2019-05-24 16:51:13 +02:00
anbsky (Migrated from github.com) commented 2019-05-24 16:51:13 +02:00

I agree. was trying to fix something entirely unrelated

I agree. was trying to fix something entirely unrelated
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry.go#60
No description provided.