npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

freee-firebase-sdk-functions-gen-2

v1.0.2

Published

freee アプリストアのアプリを Firebase 上で開発するための SDK です。

Downloads

3

Readme

会計freee Firebase SDK

freee アプリストアのアプリを Firebase 上で開発するための SDK です。

できること

  • freee ログイン -> 認可 -> リダイレクト -> Firebase にアカウント情報保存 -> Firebase ログインの一連の処理
  • freee の API をトークンを意識せず呼び出すことが可能
  • freee アクセストークン・リフレッシュトークンの暗号化・復号処理

このSDKについて

本 SDK は主要な機能が含まれていますが、β版のステータスとなっており、制限およびバグがある可能性があります。また、このステータスの記載が更新されるまでは、API やインターフェイスに変更が入る可能性がありますので、ご利用の際はご留意ください。

バージョン

【重要】会計freee APIの新バージョンについて

2020年12月まで、2つのバージョンが利用できる状態です。古いものは2020年12月に利用不可となります。

会計freee APIの最新バージョン2020-06-15を利用するにはSDKのバージョンv2.0.1を、古いAPIバージョン2019-01-31を利用するにはSDKのバージョンv1.0.1を利用して下さい。v1.0.1を利用する場合は2020年12月に廃止予定のAPIを利用することとなります。会計freee APIのバージョンについて詳細は こちら をご覧ください。

目次

チュートリアル

本 SDK を利用する手順について記載します。

前提条件

本 SDK を利用する前に下記をご確認ください。

  • freee 本体のアカウントを持っていること
  • Firebase のアカウントを持っていること

freee 本体のアカウントは、後述する freee アプリストアへのアプリケーション登録 で必要になります。

freee API に関しては、チュートリアルガイド をご参照ください。

Firebase の基礎知識については、Google が提供するFirebase のドキュメント をご参照ください。

freee アプリストアへのアプリケーション登録

本 SDK で利用する ClientId および ClientSecret を取得するため、freee アプリストアの開発者ページでアプリケーションを登録します。

こちらの チュートリアル | freee アプリストア を参考に、アプリケーションを登録して下さい。

サンプルアプリ

WebApp のサンプル

こちらのサンプルアプリのリポジトリの README にしたがって、セットアップを行なってください。

SDK の導入方法

該当のプロジェクトディレクトリで以下のコマンドを実行してください。

npm install freee-firebase-sdk-functions-gen-2

ライセンス

ライセンスについては下記をご参照ください。

MIT License