Skip to content

Output #4

Description

@thedavecarroll

Output Objects

The Twitter API outputs JSON objects natively.

See Twitter's Introduction to Tweet JSON for details.

  • Should output objects still be JSON?
  • Should output objects be PsCustomObject type?
    • If so, should the base JSON object be included?
  • Should output objects be custom classes?
    • If so, should the base JSON object be included?

Output Streams

  • How should errors be handled?
    • Invoke-RestMethod produces errors, should they be suppressed and "cleaner" errors sent to the stream?
  • Should Information stream be used?

Null Response

What happens when a request is made for a user/status/etc that does not exist or results is null?

  • Should an error be returned?
  • Should nothing be returned?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions