Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved examples #3054

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Improved examples #3054

wants to merge 4 commits into from

Conversation

jar-stripe
Copy link
Contributor

Why?

The Examples folder contains an example project to make it easy to run small code snippets against the local SDK codebase. We are improving these examples to make them easy to use and run in order to reduce friction when testing SDK functionality

What?

  • Implemented example resolution in Program.cs, so one can pass an example name on the command line
  • updated ExampleTemplate to list customers as an example, and pull api key from the environment
  • updated V2 meter event stream example to pull configuration from environment
  • added justfile recipe for running examples

…tive to Examples namespace) of the example to run

updated V2/MeterEventStream to pull configuration from the environment
updated ExampleTemplate to be a Customers.list call
@jar-stripe jar-stripe enabled auto-merge (squash) February 11, 2025 22:52
@jar-stripe jar-stripe requested a review from a team as a code owner February 19, 2025 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant