| OLD | NEW |
| 1 # Google APIs Client Libraries with Dart | 1 # Google APIs Client Libraries with Dart |
| 2 | 2 |
| 3 Google provides a large set of APIs that your applications can use | 3 Google provides a large set of APIs that your applications can use |
| 4 to interact with Google products such as Google Drive, Gmail, | 4 to interact with Google products such as Google Drive, Gmail, |
| 5 Cloud Datastore, and Cloud Storage. | 5 Cloud Datastore, and Cloud Storage. |
| 6 These APIs are accessible via REST-like interfaces. | 6 These APIs are accessible via REST-like interfaces. |
| 7 The Dart team provides the googleapis and | 7 The Dart team provides the googleapis and |
| 8 googleapis_beta packages, | 8 googleapis_beta packages, |
| 9 which provide generated Dart libraries for these APIs. | 9 which provide generated Dart libraries for these APIs. |
| 10 Using the APIs, which are available for | 10 Using the APIs, which are available for |
| (...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 507 | 507 |
| 508 * Update `config.yaml` with a new version number and generate again. | 508 * Update `config.yaml` with a new version number and generate again. |
| 509 | 509 |
| 510 ``` | 510 ``` |
| 511 $ dart bin/generate.dart run_config generate | 511 $ dart bin/generate.dart run_config generate |
| 512 ``` | 512 ``` |
| 513 | 513 |
| 514 * Run the tests. | 514 * Run the tests. |
| 515 | 515 |
| 516 ``` | 516 ``` |
| 517 $ pub global activate test_runner | |
| 518 $ pushd generated/googleapis | 517 $ pushd generated/googleapis |
| 519 $ pub get | 518 $ pub get |
| 520 $ pub global run test_runner | 519 $ pub run test |
| 521 $ cd ../googleapis_beta | 520 $ cd ../googleapis_beta |
| 522 $ pub get | 521 $ pub get |
| 523 $ pub global run test_runner | 522 $ pub run test |
| 524 $ popd | 523 $ popd |
| 525 ``` | 524 ``` |
| 526 | 525 |
| 527 * Commit the downloaded discovery documents and generated packages. | 526 * Commit the downloaded discovery documents and generated packages. |
| 528 | 527 |
| 529 ## What next? | 528 ## What next? |
| 530 | 529 |
| 531 * Read the README and the code for the packages on pub.dartlang.org: | 530 * Read the README and the code for the packages on pub.dartlang.org: |
| 532 <a href="https://pub.dartlang.org/packages/googleapis_auth">googleapis_auth</a>. | 531 <a href="https://pub.dartlang.org/packages/googleapis_auth">googleapis_auth</a>. |
| 533 | 532 |
| 534 * Check out additional APIs that are currently in beta and possibly | 533 * Check out additional APIs that are currently in beta and possibly |
| 535 only available through a Limited Preview program: | 534 only available through a Limited Preview program: |
| 536 <a href="https://pub.dartlang.org/packages/googleapis_beta">googleapis_beta</a>. | 535 <a href="https://pub.dartlang.org/packages/googleapis_beta">googleapis_beta</a>. |
| 537 | 536 |
| 538 * Play with some <a href="https://github.com/dart-lang/googleapis_examples">exam
ples</a>. | 537 * Play with some <a href="https://github.com/dart-lang/googleapis_examples">exam
ples</a>. |
| 539 | 538 |
| 540 * Read the reference documentation. | 539 * Read the reference documentation. |
| 541 These APIs are common to many languages including Python, Java, and others. | 540 These APIs are common to many languages including Python, Java, and others. |
| 542 You can refer to the general reference documentation at the | 541 You can refer to the general reference documentation at the |
| 543 <a href="http://developers.google.com/products/">developers' products page</a>
. | 542 <a href="http://developers.google.com/products/">developers' products page</a>
. |
| 544 Find the product you're interested in on that page and follow the link. | 543 Find the product you're interested in on that page and follow the link. |
| 545 Be sure to look the API reference docs for Dart as some of the Dart APIs have
quirks. | 544 Be sure to look the API reference docs for Dart as some of the Dart APIs have
quirks. |
| 546 | 545 |
| 547 | 546 |
| OLD | NEW |