Skip to content

techotaku/one-api-meter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

One API Meter

Configuration Sample

appsettings.Production.json:

{
  "Email": {
    "SiteName": "",
    "Host": "",
    "User": "[email protected]",
    "Pwd": "",
    "From": "\"Display Name\" <[email protected]>",
    "To": []
  },
  "OneApi": {
    "Server": {
      "Url": "https://api.example",
      "AccessToken": ""
    },
    "Statistics": [
      {
        "Name": "Usage",
        "Channels": [ 1, 3 ],
        "MonthlyUsagePerUser": true,
        "LastDayUsagePerUser": true,
        "Mapping": {
          "username of who actually visited": "username of who will be charged"
        }
      }
    ]
  }
}

About

Meter of One API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages