Connecting to HatenaBlog
The HatenaBlog API uses a Token-based authentication.
Using Token Authentication
To authorize access to your HatenaBlog data, use your email login and your API key as User and Password properties respectively. API Key can be generated in the HatenaBlog management page. Additionally, you will need to set the Domain, which you can find from your HatenaBlog URL. Once you have obtained it, set it in the ProfileSettings connection property.
Example Connection string
Profile=C:\profiles\HatenaBlog.apip;ProfileSettings='AuthScheme=Basic;User=YOUR_LOGIN_USER_NAME;Password=YOUR_API_KEY;BlogDomain=YOUR_DOMAIN.hatenablog.com';
Connection Properties
The connection string properties are the various options that can be used to establish a connection. This section provides a complete list of the options you can configure in the connection string for this provider.
Property | Description |
BlogDomain | Blog Domain you get from your Hatena Blog domain. |
Password | The password used to authenticate the user. |
User | The API user account used to authenticate. |